mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-16 12:10:36 +03:00
Fix(?) possible TypeError
This commit is contained in:
parent
c92a24b3e2
commit
1f8949929d
@ -117,6 +117,9 @@ const AlbumGridTile = ({ showArtist, record, basePath }) => {
|
||||
const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('md'), {
|
||||
noSsr: true,
|
||||
})
|
||||
if (!record) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={classes.albumContainer}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user