* fix(albumListView) prop undefined bug #925 * Fix undefinedProp bug
This commit is contained in:
parent
46d4c48d44
commit
20f5778694
1 changed files with 7 additions and 1 deletions
|
|
@ -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'))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue