Browse Source

Set default auto genre to undefined from ''

- Resolves genre check in gonic
master
jeffvli 3 years ago
committed by Jeff
parent
commit
a256aaf4e5
  1. 2
      src/components/player/NowPlayingView.tsx

2
src/components/player/NowPlayingView.tsx

@ -76,7 +76,7 @@ const NowPlayingView = () => {
); );
const [autoPlaylistFromYear, setRandomPlaylistFromYear] = useState(0); const [autoPlaylistFromYear, setRandomPlaylistFromYear] = useState(0);
const [autoPlaylistToYear, setRandomPlaylistToYear] = useState(0); const [autoPlaylistToYear, setRandomPlaylistToYear] = useState(0);
const [randomPlaylistGenre, setRandomPlaylistGenre] = useState(''); const [randomPlaylistGenre, setRandomPlaylistGenre] = useState<string | undefined>(undefined);
const [isLoadingRandom, setIsLoadingRandom] = useState(false); const [isLoadingRandom, setIsLoadingRandom] = useState(false);
const [musicFolder, setMusicFolder] = useState(folder.musicFolder); const [musicFolder, setMusicFolder] = useState(folder.musicFolder);

Loading…
Cancel
Save