Fix prop undefined bug #925 (#942)

* fix(albumListView)  prop undefined bug  #925

* Fix undefinedProp bug
This commit is contained in:
Aldrin Jenson 2021-03-31 10:37:07 +05:30 committed by GitHub
parent 46d4c48d44
commit 20f5778694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,13 @@ const AlbumDetails = (props) => {
)
}
const AlbumListView = ({ hasShow, hasEdit, hasList, ...rest }) => {
const AlbumListView = ({
hasShow,
hasEdit,
hasList,
syncWithLocation,
...rest
}) => {
const classes = useStyles()
const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('md'))
const isXsmall = useMediaQuery((theme) => theme.breakpoints.down('xs'))