Error while using weavy chat in next js

I am trying to add weavy react to next js project, and i run into this error
ReferenceError: window is not defined
at node_modules/@weavy/uikit-react/dist/cjs/index.js:60:289220

after that i tried to import via the following:
const Weavy = dynamic(() => import(‘@weavy/uikit-react’), { ssr: false });

Hi Fadi! Sorry for the delayed response. I believe you’re in contact with Dave to resolve your problem?
If you’ve got other concerns feel free to reach out. If you’ve got Discord I recommend joining our server as we’re migrating most of community to there. :slightly_smiling_face: