Skip to content

Commit 00eb964

Browse files
Copilottyler-dane
andauthored
chore(web): remove stale onboarding code after flow simplification (#1429)
* Initial plan * refactor(web): remove stale onboarding code Co-authored-by: tyler-dane <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: tyler-dane <[email protected]> Co-authored-by: Tyler Dane <[email protected]>
1 parent b6dc17d commit 00eb964

File tree

80 files changed

+1
-12411
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1
-12411
lines changed

packages/web/src/auth/hooks/oauth/useGoogleAuth.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import {
2121
} from "@web/ducks/events/slices/sync.slice";
2222
import { useAppDispatch } from "@web/store/store.hooks";
2323
import { toastDefaultOptions } from "@web/views/Day/components/Toasts";
24-
import { OnboardingStepProps } from "@web/views/Onboarding";
2524

26-
export function useGoogleAuth(props?: OnboardingStepProps) {
25+
export function useGoogleAuth() {
2726
const dispatch = useAppDispatch();
2827
const { setAuthenticated } = useSession();
2928
const { markSignupCompleted } = useIsSignupComplete();
@@ -69,8 +68,6 @@ export function useGoogleAuth(props?: OnboardingStepProps) {
6968

7069
markSignupCompleted();
7170

72-
props?.onNext?.();
73-
7471
const syncResult = await syncLocalEvents();
7572

7673
if (syncResult.success && syncResult.syncedCount > 0) {

packages/web/src/views/Onboarding/components/DynamicLogo.tsx

Lines changed: 0 additions & 316 deletions
This file was deleted.

packages/web/src/views/Onboarding/components/FixedOnboardingFooter.tsx

Lines changed: 0 additions & 84 deletions
This file was deleted.

packages/web/src/views/Onboarding/components/GuideInstructionContent.test.tsx

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)