From c87c51a8b0a9011d94df5aa44d44265f0cb64f95 Mon Sep 17 00:00:00 2001 From: Dom Date: Thu, 15 Aug 2024 22:28:57 +1000 Subject: [PATCH] Fix deps --- src/ranker/ranker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ranker/ranker.tsx b/src/ranker/ranker.tsx index 7640d83..5c89e47 100644 --- a/src/ranker/ranker.tsx +++ b/src/ranker/ranker.tsx @@ -263,7 +263,7 @@ export const Ranker: React.FC = ({ artistName, limit = 10 }) => { ); - }, [showProcess, state, popState]); + }, [state, showProcess, artistName, popState]); const processContent = useMemo(() => { if (state.state === "Comparing" && showProcess) {