25+5 Not Passing Any Tests?

https://codepen.io/lmsutter/pen/XWNJgNO?editors=0010

Any idea why absolutely NO tests would be passing? The error code I get is:
I know my code might not be ready to pass all the tests but I have no idea why this is happening. It seems to be…mostly working? The weird thing is when I initiate state to something much lower and set the intervals to be really low (300ish) most tests pass? Thanks for any help you’re able to provide!

Script error. (:0)
Error: Script error. (:0)
at a.onerror (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:593:1177)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:113627
at Array.forEach ()
at ae (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:113573)
at s (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:167671)
at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:168859)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38668
at o.g.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38963)
at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:44463)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:44961

You’re trying to use methods on audioRef.current which is undefined, because in your useEffect you’re assigning to it only when timer is 0 or less.

Thank you!! That worked.