From c257a606c354735c4ec2eef1bbc9b652fdbbdda9 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 31 Oct 2021 22:54:01 -0700 Subject: [PATCH] Fix player 2 index after adding auto playlist --- 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 f2f7382..ea88dce 100644 --- a/src/components/player/NowPlayingView.tsx +++ b/src/components/player/NowPlayingView.tsx @@ -213,7 +213,7 @@ const NowPlayingView = () => { `Added ${cleanedSongs.length} ${difference !== 0 ? `(-${difference} invalid)` : ''} song(s)` ); } - + dispatch(fixPlayer2Index()); setIsLoadingRandom(false); return autoPlaylistTriggerRef.current.close(); };