about summary refs log tree commit diff
path: root/src/state/session/index.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-27 14:01:57 -0700
committerGitHub <noreply@github.com>2024-09-27 14:01:57 -0700
commitf68b15219fd02e23d965015201400138ed69d59d (patch)
tree1134642fff8db10b2cfca827a6c0d9cd2a4dbd5b /src/state/session/index.tsx
parentbcd096b85aee45c38de7cfbcf1115b0a544589ae (diff)
downloadvoidsky-f68b15219fd02e23d965015201400138ed69d59d.tar.zst
Remove Segment (#5518)
Diffstat (limited to 'src/state/session/index.tsx')
-rw-r--r--src/state/session/index.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx
index 21fe7f75b..ab3352bf3 100644
--- a/src/state/session/index.tsx
+++ b/src/state/session/index.tsx
@@ -1,7 +1,6 @@
 import React from 'react'
 import {AtpSessionEvent, BskyAgent} from '@atproto/api'
 
-import {track} from '#/lib/analytics/analytics'
 import {logEvent} from '#/lib/statsig/statsig'
 import {isWeb} from '#/platform/detection'
 import * as persisted from '#/state/persisted'
@@ -70,7 +69,6 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
     async params => {
       addSessionDebugLog({type: 'method:start', method: 'createAccount'})
       const signal = cancelPendingTask()
-      track('Try Create Account')
       logEvent('account:create:begin', {})
       const {agent, account} = await createAgentAndCreateAccount(
         params,
@@ -85,7 +83,6 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
         newAgent: agent,
         newAccount: account,
       })
-      track('Create Account')
       logEvent('account:create:success', {})
       addSessionDebugLog({type: 'method:end', method: 'createAccount', account})
     },
@@ -109,7 +106,6 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
         newAgent: agent,
         newAccount: account,
       })
-      track('Sign In', {resumedSession: false})
       logEvent('account:loggedIn', {logContext, withPassword: true})
       addSessionDebugLog({type: 'method:end', method: 'login', account})
     },