Skip to content

Commit 2eeeb4f

Browse files
committed
6th step: Solved onResetGame issue.
1 parent 58c47e1 commit 2eeeb4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class Game extends React.Component {
3838
}
3939

4040
jumpTo(step) {
41+
this.winner = null;
4142
this.setState({
4243
stepNumber: step,
4344
xIsNext: (step % 2) === 0,

0 commit comments

Comments
 (0)