In any case onClick not working.
What can be the reason?
what’s the error it gives u? can u tell us?
Issue was solved. Somethink went wrong on node v16.13.1. After update does work. Thank you!
nothing wrong there!
that ‘React’ import is not needed at this time in that component.
Issue probably somewhere else in your codebase.