Skip to content

Commit

Permalink
unbreak deleting choices
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlee64 committed Dec 18, 2024
1 parent efed3f0 commit 69e31bf
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,9 @@ export const PlaygroundPageInner = (props: PlaygroundPageProps) => {
setPlaygroundStateFromTraceCall(callWithCosts.result.traceCall);
}
}
}, [
callWithCosts.loading,
setPlaygroundStateFromTraceCall,
callWithCosts.result,
]);
// Only set the call the first time the page loads, and we get the call
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [callWithCosts.loading]);

useEffect(() => {
setPlaygroundStates(prev => {
Expand Down

0 comments on commit 69e31bf

Please sign in to comment.