Skip to content

Commit

Permalink
Fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-codespoti committed Aug 15, 2024
1 parent 718044b commit c87c51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ranker/ranker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const Ranker: React.FC<Props> = ({ artistName, limit = 10 }) => {
</div>
</div>
);
}, [showProcess, state, popState]);
}, [state, showProcess, artistName, popState]);

const processContent = useMemo(() => {
if (state.state === "Comparing" && showProcess) {
Expand Down

0 comments on commit c87c51a

Please sign in to comment.