Skip to content

Commit ecf590f

Browse files
authored
1 parent 2082579 commit ecf590f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/Goban.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ export default class Goban extends Component {
9292
} else {
9393
this.stopPlayingVariation()
9494
}
95+
} else if (this.props.treePosition !== nextProps.treePosition) {
96+
this.stopPlayingVariation()
9597
}
9698
}
9799

0 commit comments

Comments
 (0)