mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 16:05:00 -05:00
feat(www): add signout clause
This commit is contained in:
parent
b50040dfa5
commit
9a82bf5f17
@ -82,6 +82,9 @@ function PostHogPageView() {
|
|||||||
username: user.username,
|
username: user.username,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (!isSignedIn && posthog._isIdentified()) {
|
||||||
|
posthog.reset()
|
||||||
|
}
|
||||||
}, [posthog, user])
|
}, [posthog, user])
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user