Closed thecoorum closed 1 month ago
I don't know how the next client components work. If you see this message, it means, the hook was called on the server side (where window is missing)
i also found this bug, i used these hooks with ssr=false in a next.js client component, reports this 'Using hooks on the server side, you must explicitly specify ssr = true option'
Next.js client components may be rendered on the server side: https://nextjs.org/docs/app/building-your-application/rendering/client-components#how-are-client-components-rendered
Telegram Application
Telegram for macOS
Describe the Bug
When using
@telegram-apps/sdk-react
in the client components it always logs the following error to the consoleIs that expected behavior?
To Reproduce
Steps to reproduce the behavior:
"use client"
directive at the top of the fileExpected Behavior
I don't really know if that's an expected behavior or not