Material-UI makeStyles cannot read property ‘down’ of undefined
I am working on a personal website using Material-UI and to make it responsive I wanted to hide an image on smaller screens but when I try to use [theme.breakpoints.down('md')]
, it keeps giving me the error: