fix openpanel script in dashboard

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-08-28 15:15:58 +02:00
parent af802d2c3a
commit 478943a90b

View File

@@ -62,14 +62,14 @@ function AllProviders({ children }: { children: React.ReactNode }) {
defaultTheme="light" defaultTheme="light"
disableTransitionOnChange disableTransitionOnChange
> >
<OpenPanelComponent {process.env.NEXT_PUBLIC_OP_CLIENT_ID && (
apiUrl="http://localhost:3333" <OpenPanelComponent
clientId={'75479ffd-645b-43d2-a33a-2111a6f5ee00'} clientId={process.env.NEXT_PUBLIC_OP_CLIENT_ID}
trackScreenViews trackScreenViews
trackOutgoingLinks trackOutgoingLinks
trackAttributes trackAttributes
/> />
)}
<ReduxProvider store={storeRef.current}> <ReduxProvider store={storeRef.current}>
<api.Provider client={trpcClient} queryClient={queryClient}> <api.Provider client={trpcClient} queryClient={queryClient}>
<QueryClientProvider client={queryClient}> <QueryClientProvider client={queryClient}>