diff --git a/apps/hosted-components/src/routes/__root.tsx b/apps/hosted-components/src/routes/__root.tsx index 94d819a1d..77e5e5250 100644 --- a/apps/hosted-components/src/routes/__root.tsx +++ b/apps/hosted-components/src/routes/__root.tsx @@ -1,5 +1,5 @@ /// -import { StackClientApp, StackProvider, StackTheme } from '@hexclave/react'; +import { HexclaveClientApp, HexclaveProvider, HexclaveTheme } from '@hexclave/react'; import { publishableClientKeyNotNecessarySentinel } from '@hexclave/shared/dist/utils/oauth'; import { runAsynchronously } from '@hexclave/shared/dist/utils/promises'; import { validateRedirectUrl } from '@hexclave/shared/dist/utils/redirect-urls'; @@ -166,7 +166,7 @@ function RootComponent() { const hexclaveApp = useMemo(() => { if (!projectId || !isValidProjectId) return null; - return new StackClientApp({ + return new HexclaveClientApp({ projectId, publishableClientKey: publishableClientKeyNotNecessarySentinel, tokenStore: "cookie", @@ -197,11 +197,11 @@ function RootComponent() { return ( - - + + - - + + ); }