Skip to content

Commit a786790

Browse files
committed
totp scanner
1 parent 571b1e7 commit a786790

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

src/components/AuthorizerTOTPScanner.tsx

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,20 @@ export const AuthorizerTOTPScanner: FC<{
2828
const handleContinue = () => {
2929
setIsOTPScreenVisisble(true);
3030
};
31+
console.log({ isOTPScreenVisisble });
3132

3233
if (isOTPScreenVisisble) {
33-
<AuthorizerVerifyOtp
34-
{...{
35-
setView,
36-
onLogin,
37-
email,
38-
phone_number,
39-
urlProps,
40-
}}
41-
/>;
34+
return (
35+
<AuthorizerVerifyOtp
36+
{...{
37+
setView,
38+
onLogin,
39+
email,
40+
phone_number,
41+
urlProps,
42+
}}
43+
/>
44+
);
4245
}
4346

4447
return (

0 commit comments

Comments
 (0)