Skip to content

Commit d91252f

Browse files
Pass state into resetTraining
1 parent 9c80df0 commit d91252f

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)