From 443e423ff7dc53d43fdfb9056fb036862c7e544b Mon Sep 17 00:00:00 2001 From: jeffvli Date: Wed, 15 Sep 2021 22:29:01 -0700 Subject: [PATCH] fix player1 when moving to new page while fading --- src/components/viewtypes/ListViewTable.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/viewtypes/ListViewTable.tsx b/src/components/viewtypes/ListViewTable.tsx index a009eee..251d555 100644 --- a/src/components/viewtypes/ListViewTable.tsx +++ b/src/components/viewtypes/ListViewTable.tsx @@ -167,9 +167,9 @@ const ListViewTable = ({ }) ); } - } - if (playQueue.currentPlayer === 1) { - dispatch(fixPlayer2Index()); + if (playQueue.currentPlayer === 1) { + dispatch(fixPlayer2Index()); + } } }, [ columns,