fix: whereby consent not displaying (#505)

This commit is contained in:
2025-07-22 12:20:26 -06:00
committed by GitHub
parent 6fedbbe63f
commit 24fabe3e86
3 changed files with 156 additions and 24 deletions

View File

@@ -4,11 +4,15 @@ import { ChakraProvider } from "@chakra-ui/react";
import system from "./styles/theme";
import { WherebyProvider } from "@whereby.com/browser-sdk/react";
import { Toaster } from "./components/ui/toaster";
export function Providers({ children }: { children: React.ReactNode }) {
return (
<ChakraProvider value={system}>
<WherebyProvider>{children}</WherebyProvider>
<WherebyProvider>
{children}
<Toaster />
</WherebyProvider>
</ChakraProvider>
);
}