🚑️(frontend) fix posthog user's ID
Quotes were misplaced, leading to the same ID being generated for every user. Fixed the issue, which was a trivial error.
This commit is contained in:
committed by
aleb_the_flash
parent
550c48f29e
commit
fab08cfaf8
@@ -19,7 +19,7 @@ export const useUser = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (query.data && query.data.id && !posthog._isIdentified()) {
|
||||
posthog.identify('query.data.id', { email: query.data.email })
|
||||
posthog.identify(query.data.id, { email: query.data.email })
|
||||
}
|
||||
}, [query.data])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user