mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 17:52:16 +00:00
remove mixpanel from source (will move to extension hook)
This commit is contained in:
@@ -86,18 +86,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
|
|||||||
currentUser.value = user
|
currentUser.value = user
|
||||||
isInitialized.value = true
|
isInitialized.value = true
|
||||||
|
|
||||||
const mixpanel = (window as any).mixpanel
|
|
||||||
|
|
||||||
if (user && mixpanel) {
|
|
||||||
mixpanel.identify(user.uid)
|
|
||||||
mixpanel.people.set({
|
|
||||||
uid: user.uid,
|
|
||||||
$email: user.email,
|
|
||||||
$name: user.displayName,
|
|
||||||
$created: user.metadata.creationTime
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// Reset balance when auth state changes
|
// Reset balance when auth state changes
|
||||||
balance.value = null
|
balance.value = null
|
||||||
lastBalanceUpdateTime.value = null
|
lastBalanceUpdateTime.value = null
|
||||||
|
|||||||
Reference in New Issue
Block a user