You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error.tsx:15 Error: async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding 'use client' to a module that was originally written for the server.
#81
This error is occurring after 4-5 days ago.
I have integrated Revolut-Checkout in my NextJS web app.
It was working fine 4-5 days ago with payments done, test cards working successfully.
The integration I have done is based on official revolut documentation,
With no new changes done, I tested the revolut pay today in my app and suddenly on button mount the button shows for 1 s and error occurrs in console:
error.tsx:15 Error: async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding 'use client' to a module that was originally written for the server.
I am indeed not using async/await for Revolut related code anyways but not sure why this error is happenning recently.
Any help on this would be highly appreciated.
Thanks and Regards
The text was updated successfully, but these errors were encountered:
This error is occurring after 4-5 days ago.
I have integrated Revolut-Checkout in my NextJS web app.
It was working fine 4-5 days ago with payments done, test cards working successfully.
The integration I have done is based on official revolut documentation,
With no new changes done, I tested the revolut pay today in my app and suddenly on button mount the button shows for 1 s and error occurrs in console:
error.tsx:15 Error: async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding
'use client'
to a module that was originally written for the server.I am indeed not using async/await for Revolut related code anyways but not sure why this error is happenning recently.
Any help on this would be highly appreciated.
Thanks and Regards
The text was updated successfully, but these errors were encountered: