remove company size logic from the code
This commit is contained in:
parent
2895af8ec1
commit
1ef55a2419
|
@ -54,7 +54,6 @@ export function createAuthStore() {
|
||||||
if (user) {
|
if (user) {
|
||||||
analytics.activate().then(() => {
|
analytics.activate().then(() => {
|
||||||
analytics.identify(user._id, user)
|
analytics.identify(user._id, user)
|
||||||
if (user.size === "100+" || user.size === "10000+") {
|
|
||||||
analytics.showChat({
|
analytics.showChat({
|
||||||
email: user.email,
|
email: user.email,
|
||||||
created_at: user.createdAt || Date.now(),
|
created_at: user.createdAt || Date.now(),
|
||||||
|
@ -62,7 +61,6 @@ export function createAuthStore() {
|
||||||
user_id: user._id,
|
user_id: user._id,
|
||||||
tenant: user.tenantId,
|
tenant: user.tenantId,
|
||||||
})
|
})
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue