From ed0de90118749ce59cddfd68d64745725671a5c9 Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Mon, 6 May 2024 13:05:44 -0400 Subject: [PATCH] sign in with passkeys coming soon --- packages/frontend/src/pages/auth/Login.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/frontend/src/pages/auth/Login.tsx b/packages/frontend/src/pages/auth/Login.tsx index f0b407b5..215b6f50 100644 --- a/packages/frontend/src/pages/auth/Login.tsx +++ b/packages/frontend/src/pages/auth/Login.tsx @@ -137,6 +137,14 @@ export const Login = ({ onDone }: Props) => { disabled={!!loading} onClick={async () => { setProvider('passkey'); + await new Promise((resolve) => setTimeout(resolve, 800)); + setProvider(false); + toast({ + id: 'coming-soon', + title: 'Sign-in with Passkeys is coming soon!', + variant: 'info', + onDismiss() {}, + }); }} > Sign In with Passkey