how to clear circles and lines after the first input?
JZorina opened this issue · 1 comments
JZorina commented
after the user insert first input ('123' for example ) - how can i clear the board?
i tries to use onReset() methd - but its not working.
JZorina commented
i solved it by adding intrerval prop and by fixing the resetActive() method in the source code. instead of :
this.state.lines = [];
i placed:
this.setState({lines: []});