fix openpanel script in dashboard
This commit is contained in:
@@ -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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user