Skip to content

Commit

Permalink
Clear choice in onContinue()
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-CTL committed Sep 25, 2024
1 parent 4a3f494 commit 3e35980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media/js/src/simulationTwo/simulationTwo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const SimulationTwo = () => {

const handleContinue = () => {
setIsComplete({...isComplete, [choice]: true});
setChoice(null);
setData(null);
setIsSubmitted(false);
};
Expand Down

0 comments on commit 3e35980

Please sign in to comment.