onClick doesn`t work Nextjs 13

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.

when I do ‘npm run preview-email’, it does not install the dependencies. any idea what the issue might be?