I tryI'm trying to domake a timer in React but, I have a problem,. The error that I haveam getting is this problem Uncaught TypeError: Cannot read property 'seconds' of undefined'.
Uncaught TypeError: Cannot read property 'seconds' of undefined'.
I tryhave tried to understand but, I can't find the problem.
Can someone help me ?
Here is the fiddle :
Thank you.
https://jsfiddle.net/q806zeps/17/
Thank you.
I think the problem is here because if I comment the render, isit's ok.
<TimerInput value={this.state.seconds} handleChange={this.handleChange} /> <Minuteur seconds={600} libelle="Pâtes"/>
<TimerInput
value={this.state.seconds}
handleChange={this.handleChange}
/>
<Minuteur
seconds={600}
libelle="Pâtes"
/>```