From a7ddeae6b0afdf06e385d5e84dec4113a588bfec Mon Sep 17 00:00:00 2001 From: Caleb Briancesco Date: Wed, 18 Dec 2024 10:31:25 -0600 Subject: [PATCH] fix: removing un-used component --- .../src/components/auth/card/loading/otp.tsx | 38 ------------------- 1 file changed, 38 deletions(-) diff --git a/account-kit/react/src/components/auth/card/loading/otp.tsx b/account-kit/react/src/components/auth/card/loading/otp.tsx index aa370c51d5..133d3fef3d 100644 --- a/account-kit/react/src/components/auth/card/loading/otp.tsx +++ b/account-kit/react/src/components/auth/card/loading/otp.tsx @@ -78,41 +78,3 @@ export const LoadingOtp = () => { ); }; - -// export const CompletingOtp = () => { -// const { isConnected } = useSignerStatus(); -// const { setAuthStep, authStep } = useAuthContext("otp_completing"); -// const { authenticate } = useAuthenticate({ -// onError: (error: any) => { -// console.error(error); -// const { email } = authStep; -// setAuthStep({ type: "otp_verify", email, error }); -// }, -// onSuccess: () => { -// if (isConnected && authStep.createPasskeyAfter) { -// setAuthStep({ type: "passkey_create" }); -// } else if (isConnected) { -// setAuthStep({ type: "complete" }); -// } -// }, -// }); - -// useEffect(() => { -// authenticate({ type: "otp", otpCode: authStep.otp }); -// // eslint-disable-next-line react-hooks/exhaustive-deps -// }, []); - -// return ( -//
-//
-// -//
-//

-// {ls.completingOtp.title} -//

-//

-// {ls.completingOtp.body} -//

-//
-// ); -// };