Skip to content

Commit 2bdff93

Browse files
Merge pull request #233 from code-dot-org/fix-train-again
Pass state into resetTraining
2 parents 9c80df0 + d91252f commit 2bdff93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/demo/ui.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ class Pond extends React.Component {
935935
<Button
936936
style={styles.playAgainButton}
937937
onClick={() => {
938-
resetTraining();
938+
resetTraining(state);
939939
toMode(Modes.Words);
940940
}}
941941
>

0 commit comments

Comments
 (0)