diff --git a/ee/apps/den-web/app/(den)/_components/auth-panel.tsx b/ee/apps/den-web/app/(den)/_components/auth-panel.tsx index b775c113b..a4c845cb9 100644 --- a/ee/apps/den-web/app/(den)/_components/auth-panel.tsx +++ b/ee/apps/den-web/app/(den)/_components/auth-panel.tsx @@ -7,6 +7,14 @@ import { isSamePathname } from "../_lib/client-route"; import type { AuthMode } from "../_lib/den-flow"; import { useDenFlow } from "../_providers/den-flow-provider"; +type PanelContent = { + title: string; + copy: string; + submitLabel: string; + togglePrompt?: string; + toggleActionLabel?: string; +}; + function getDesktopGrant(url: string | null) { if (!url) return null; try { @@ -52,7 +60,7 @@ function SocialButton({ return ( ) : null} -

+

If OpenWork does not open automatically, copy the sign-in link or one-time code and paste it into the OpenWork desktop app.

@@ -195,7 +225,7 @@ export function AuthPanel({ ) : null}
{ const next = verificationRequired ? await submitVerificationCode(event) @@ -228,33 +258,24 @@ export function AuthPanel({ Continue with Google -