Change persistence of Mixpanel config (#2823)

change persistence of mixpanel config
This commit is contained in:
tom goriunov
2025-07-04 09:22:47 +02:00
committed by GitHub
parent 8f16d530c8
commit d1bf239d20
+1
View File
@@ -27,6 +27,7 @@ export default function useMixpanelInit() {
const mixpanelConfig: Partial<Config> = {
debug: Boolean(debugFlagQuery.current || debugFlagCookie),
persistence: 'localStorage',
};
const isAuth = Boolean(cookies.get(cookies.NAMES.API_TOKEN));