Skip to content

Commit

Permalink
Merge pull request #530 from ccnmtl/ERD-277-clear-radio
Browse files Browse the repository at this point in the history
Clear choice in onContinue()
  • Loading branch information
Evan-CTL authored Sep 25, 2024
2 parents 4a3f494 + 3e35980 commit f95a31a
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 f95a31a

Please sign in to comment.