Hey all,
I am still working on my pomodoro clock. I was getting close to passing the tests (22/29) that FCC requires. But I fixed a problem I had (left of the ‘this.state.’ part when referencing data in the state), and suddenly, when I tested it using the FCC script, it got stuck on test #11 and looped back and forth between break and session.
The section that I edited and which seems to be causing this looping issue is the “everySection()” function (line numbers 82-102).
You can view my code here: https://codepen.io/micahacobb/pen/qLXMVO
This is one of my first React projects, so I apologize for the ugly code.
Any help is appreciated.