* fix(albumListView) prop undefined bug #925 * Fix undefinedProp bug
This commit is contained in:
@@ -57,7 +57,13 @@ const AlbumDetails = (props) => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const AlbumListView = ({ hasShow, hasEdit, hasList, ...rest }) => {
|
const AlbumListView = ({
|
||||||
|
hasShow,
|
||||||
|
hasEdit,
|
||||||
|
hasList,
|
||||||
|
syncWithLocation,
|
||||||
|
...rest
|
||||||
|
}) => {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('md'))
|
const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('md'))
|
||||||
const isXsmall = useMediaQuery((theme) => theme.breakpoints.down('xs'))
|
const isXsmall = useMediaQuery((theme) => theme.breakpoints.down('xs'))
|
||||||
|
|||||||
Reference in New Issue
Block a user