Missing provider
Learn how to configure the Croct provider.
If you use the useCroct hook outside the context of a <CroctProvider> component, you will see the error below:
Error
useCroct() can only be used in the context of a <CroctProvider> component.
This means the SDK is not initialized on the client. To resolve it, wrap your app in the provider as described in the provider setup.