Skip to content

Commit c304741

Browse files
Merge branch 'feat/webauthn/base' of github.com-supertokens:supertokens/supertokens-auth-react into feat/webauthn/base
2 parents bb17066 + afc087b commit c304741

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

lib/ts/recipe/webauthn/components/themes/signUp/recoverAccountForm.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import { RecoverableError } from "../error/recoverableError";
2727

2828
import type { RecoverFromProps } from "../../../types";
2929

30-
export const PasskeyRecoverAccountFormInner = withOverride(
31-
"PasskeyRecoverAccountFormInner",
30+
export const PasskeyRecoverAccountForm = withOverride(
31+
"PasskeyRecoverAccountForm",
3232
(
3333
props: RecoverFromProps & {
3434
setError: React.Dispatch<React.SetStateAction<string | undefined>>;
@@ -87,8 +87,8 @@ export const PasskeyRecoverAccountFormInner = withOverride(
8787
}
8888
);
8989

90-
export const PasskeyRecoverAccountForm = withOverride(
91-
"PasskeyRecoverAccountForm",
90+
export const PasskeyRecoverAccount = withOverride(
91+
"PasskeyRecoverAccount",
9292
(props: RecoverFromProps): JSX.Element => {
9393
const t = useTranslation();
9494
const [errorLabel, setErrorLabel] = useState<string | undefined>(undefined);

lib/ts/recipe/webauthn/components/themes/translations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export const defaultTranslationsWebauthn = {
2525
WEBAUTHN_UNRECOVERABLE_ERROR: "Something went wrong",
2626
WEBAUTHN_UNRECOVERABLE_ERROR_DETAILS: "something went wrong with your current session. please try again.",
2727
WEBAUTHN_EMAIL_SENT_LABEL: "Email sent",
28-
WEBAUTHN_EMAIL_SENT_PRE_LABEL: "Account recovery email has been sent to ",
29-
WEBAUTHN_EMAIL_SENT_POST_LABEL: ", if it exists in our system.",
28+
WEBAUTHN_EMAIL_SENT_LABEL_PRE_EMAIL: "Account recovery email has been sent to ",
29+
WEBAUTHN_EMAIL_SENT_LABEL_POST_EMAIL: ", if it exists in our system.",
3030
WEBAUTHN_RESEND_OR_CHANGE_EMAIL_LABEL: "Resend or change email",
3131
WEBAUTHN_ACCOUNT_RECOVERY_NOT_ALLOWED_LABEL: "Account Recovery is not allowed, please contact support.",
3232
WEBAUTHN_ACCOUNT_RECOVERY_GENERAL_ERROR:

stories/allrecipes.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ export const SignUpPasskey: Story = {
118118
const canvas = within(canvasElement);
119119
const switcher = await canvas.findByText("CONTINUE WITH PASSKEY");
120120
await new Promise((res) => setTimeout(res, 100));
121-
canvasElement;
122121
await userEvent.click(switcher, { delay: 200 });
123122
},
124123
};

0 commit comments

Comments
 (0)