From a256aaf4e5fab0a2ee503872ee33eb12ecbb67ff Mon Sep 17 00:00:00 2001 From: jeffvli Date: Fri, 12 Nov 2021 12:07:48 -0800 Subject: [PATCH] Set default auto genre to undefined from '' - Resolves genre check in gonic --- src/components/player/NowPlayingView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/NowPlayingView.tsx b/src/components/player/NowPlayingView.tsx index d961599..9553b76 100644 --- a/src/components/player/NowPlayingView.tsx +++ b/src/components/player/NowPlayingView.tsx @@ -76,7 +76,7 @@ const NowPlayingView = () => { ); const [autoPlaylistFromYear, setRandomPlaylistFromYear] = useState(0); const [autoPlaylistToYear, setRandomPlaylistToYear] = useState(0); - const [randomPlaylistGenre, setRandomPlaylistGenre] = useState(''); + const [randomPlaylistGenre, setRandomPlaylistGenre] = useState(undefined); const [isLoadingRandom, setIsLoadingRandom] = useState(false); const [musicFolder, setMusicFolder] = useState(folder.musicFolder);