Call this.setState from Another Function can't pass the test

So, I followed the instructions and I can’t pass the test to go to step 2.
And the error message doesn’t really make any sense to me, since the super() is not outside of the class constructor. Any help will be appreciated. Thanks !

check you spelling, you made a typo in constructor

1 Like

Thanks mate. Sorry if I wasted your time over this :slight_smile:

that is what the forum is for :wink: So no time waisted

good advice for in the future: always check spelling, especially for built-in function which need to have specific name


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.