diff --git a/apps/desktop/src/onboarding/account/before-login.tsx b/apps/desktop/src/onboarding/account/before-login.tsx
index 56fe058db6..23fce79df8 100644
--- a/apps/desktop/src/onboarding/account/before-login.tsx
+++ b/apps/desktop/src/onboarding/account/before-login.tsx
@@ -1,24 +1,47 @@
import { useState } from "react";
+import { commands as analyticsCommands } from "@hypr/plugin-analytics";
+
import { OnboardingButton } from "../shared";
import { useAuth } from "~/auth";
-export function BeforeLogin() {
+export function BeforeLogin({ onContinue }: { onContinue: () => void }) {
const auth = useAuth();
const [showCallbackUrlInput, setShowCallbackUrlInput] = useState(false);
+ const [didClickSignIn, setDidClickSignIn] = useState(false);
return (
-
-
auth?.signIn()}>
- Sign in
-
+
+
+ {
+ setDidClickSignIn(true);
+ auth?.signIn();
+ }}
+ >
+ Sign in
+
+ {didClickSignIn && (
+
+ )}
+
{showCallbackUrlInput &&
}
@@ -41,6 +64,7 @@ function CallbackUrlInput() {
onChange={(e) => setCallbackUrl(e.target.value)}
/>