From 4e8a4250dc5e79e5561bac107303e60f67f8c9a7 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 3 Jul 2025 16:31:20 +0530 Subject: [PATCH] Update --- web/packages/accounts/pages/credentials.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/packages/accounts/pages/credentials.tsx b/web/packages/accounts/pages/credentials.tsx index ca1ce4874c..8b0b1757d0 100644 --- a/web/packages/accounts/pages/credentials.tsx +++ b/web/packages/accounts/pages/credentials.tsx @@ -82,7 +82,7 @@ const Page: React.FC = () => { const [user, setUser] = useState(undefined); const [keyAttributes, setKeyAttributes] = useState(); - const [srpAttributes, setSrpAttributes] = useState(); + const [srpAttributes, setSRPAttributes] = useState(); const [passkeyVerificationData, setPasskeyVerificationData] = useState< { passkeySessionID: string; url: string } | undefined >(); @@ -175,7 +175,7 @@ const Page: React.FC = () => { } if (srpAttributes) { - setSrpAttributes(srpAttributes); + setSRPAttributes(srpAttributes); } else { void router.push("/"); }