From f68b15219fd02e23d965015201400138ed69d59d Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 27 Sep 2024 14:01:57 -0700 Subject: Remove Segment (#5518) --- src/state/shell/onboarding.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/state/shell/onboarding.tsx') diff --git a/src/state/shell/onboarding.tsx b/src/state/shell/onboarding.tsx index d3a8fec46..9aad9953d 100644 --- a/src/state/shell/onboarding.tsx +++ b/src/state/shell/onboarding.tsx @@ -1,6 +1,5 @@ import React from 'react' -import {track} from '#/lib/analytics/analytics' import * as persisted from '#/state/persisted' export const OnboardingScreenSteps = { @@ -55,17 +54,14 @@ function reducer(state: StateContext, action: Action): StateContext { return compute({...state, step: nextStep}) } case 'start': { - track('Onboarding:Begin') persisted.write('onboarding', {step: 'Welcome'}) return compute({...state, step: 'Welcome'}) } case 'finish': { - track('Onboarding:Complete') persisted.write('onboarding', {step: 'Home'}) return compute({...state, step: 'Home'}) } case 'skip': { - track('Onboarding:Skipped') persisted.write('onboarding', {step: 'Home'}) return compute({...state, step: 'Home'}) } -- cgit 1.4.1