better handling dates in clickhouse

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-08-28 10:53:23 +02:00
parent df05e2dab3
commit 2be2ff3e12
14 changed files with 97 additions and 71 deletions

View File

@@ -29,7 +29,7 @@ const SkipOnboarding = () => {
text: 'Are you sure you want to skip onboarding? Since you do not have any projects, you will be logged out.',
onConfirm() {
auth.signOut();
router.replace(process.env.NEXT_PUBLIC_CLERK_SIGN_IN_URL);
router.replace(process.env.NEXT_PUBLIC_CLERK_SIGN_IN_URL!);
},
});
}

View File

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