Skip to content

Commit ca4f4e4

Browse files
committed
changes
1 parent 8043eb5 commit ca4f4e4

File tree

5 files changed

+2
-4
lines changed

5 files changed

+2
-4
lines changed

packages/template-retail-react-app/app/components/otp-auth/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const OtpAuth = ({
8686

8787
useEffect(() => {
8888
if (isOpen) {
89+
otpInputs.clear()
8990
setError('')
9091
form.setValue('otp', '')
9192

packages/template-retail-react-app/app/hooks/use-auth-modal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export const AuthModal = ({
9292

9393
const {getPasswordResetToken} = usePasswordReset()
9494
const authorizePasswordlessLogin = useAuthHelper(AuthHelpers.AuthorizePasswordless)
95-
const passwordlessMode = config.app.login?.passwordless?.mode || 'email'
9695
const passwordlessConfigCallback = config.app.login?.passwordless?.callbackURI
9796
const callbackURL = isAbsoluteURL(passwordlessConfigCallback)
9897
? passwordlessConfigCallback

packages/template-retail-react-app/app/hooks/use-passkey-login.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ export const usePasskeyLogin = () => {
9999
credential: encodedCredential,
100100
usid
101101
})
102-
103102
return
104103
}
105104

packages/template-retail-react-app/app/pages/login/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ const Login = ({initialView = LOGIN_VIEW}) => {
216216
loginWithPasskey()
217217
} catch (error) {
218218
// Silently fail
219-
console.log('Passkey conditional mediation not started:', error?.message || error)
220219
}
221220
}
222221
}, [])

packages/template-retail-react-app/app/static/translations/compiled/en-XA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10803,4 +10803,4 @@
1080310803
"value": "]"
1080410804
}
1080510805
]
10806-
}
10806+
}

0 commit comments

Comments
 (0)