Commit ad61f745 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Change persistence of Mixpanel config (#2823)

change persistence of mixpanel config
parent 843a0471
...@@ -27,6 +27,7 @@ export default function useMixpanelInit() { ...@@ -27,6 +27,7 @@ export default function useMixpanelInit() {
const mixpanelConfig: Partial<Config> = { const mixpanelConfig: Partial<Config> = {
debug: Boolean(debugFlagQuery.current || debugFlagCookie), debug: Boolean(debugFlagQuery.current || debugFlagCookie),
persistence: 'localStorage',
}; };
const isAuth = Boolean(cookies.get(cookies.NAMES.API_TOKEN)); const isAuth = Boolean(cookies.get(cookies.NAMES.API_TOKEN));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment