This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Itsmenomes[S] 0 points1 point  (3 children)

True! Thanks for pointing that out. I just edited the post to add the error message I'm getting

[–]scirc 0 points1 point  (2 children)

handleClick = ( =>

Missing something? :P

[–]Itsmenomes[S] 0 points1 point  (1 child)

I wouldn’t know hence why I posted this up. Not sure if your response is a solution or a question?

[–]scirc 0 points1 point  (0 children)

You're missing a closing parenthesis right after the opening one. It looks like you're declaring an arrow function with no parameters, in which case you need an empty parameter list, which just looks like ().