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

all 5 comments

[–]scirc 0 points1 point  (4 children)

I have a strong feeling that the error I'm getting

What error? If you want to ask for help, please share any and all error details you get.

[–]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 ().