Open kelokchan opened 1 year ago
@kelokchan sorry for the slow response, dont have time to update the repo lately
I think you can add the use client
thing in your AR.tsx
component and probably this issue happen because of the rehydration that run in the next js
I suggest you to make some sort of hook first so you can know that the rehydration is completed or not, if its completed then you can show the AR component
I have followed the example here but I'm constantly getting the following error.
Here is my code for reference
components/AR.tsx
:pages/index.tsx
:I also made sure to only render this page on the client side but that didn't help