mirror of
https://github.com/navidrome/navidrome.git
synced 2026-02-02 06:24:14 +00:00
Fix(?) possible TypeError
This commit is contained in:
parent
82f3aee0a3
commit
3a93914ec3
@ -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