diff --git a/packages/ui/src/App.tsx b/packages/ui/src/App.tsx index 21b50ddb2..93e1040b4 100644 --- a/packages/ui/src/App.tsx +++ b/packages/ui/src/App.tsx @@ -95,14 +95,14 @@ const App = () => { } /> + {/* Passwordless verification code */} + } /> + {/* Continue set up missing profile */} } /> - {/* Passwordless verification code */} - } /> - {/* Social sign-in pages */} } /> diff --git a/packages/ui/src/hooks/use-send-verification-code.ts b/packages/ui/src/hooks/use-send-verification-code.ts index 8d4a82a49..cb561cb45 100644 --- a/packages/ui/src/hooks/use-send-verification-code.ts +++ b/packages/ui/src/hooks/use-send-verification-code.ts @@ -46,7 +46,7 @@ const useSendVerificationCode = (flow: UserFlow, replaceCurrentPage?: boolean) = if (result) { navigate( { - pathname: `verification-code`, + pathname: `/${flow}/verification-code`, search: location.search, }, {