Skip to content

Commit 73eac66

Browse files
committed
fix: typo in style-id
1 parent b08eb4d commit 73eac66

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/build/passwordlessprebuiltui.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/passwordless/components/themes/signInUpEPCombo/continueWithPasswordlessFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const ContinueWithPasswordlessFooter: React.FC<
2929

3030
return (
3131
<a
32-
data-supertokens="link linkButton continueWithSupertokensLink"
32+
data-supertokens="link linkButton continueWithPasswordlessLink"
3333
onClick={async () => {
3434
if (isPhoneNumber) {
3535
const phoneNumber = state.find((field) => field.id === "phoneNumber")?.value;

lib/ts/recipe/passwordless/components/themes/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ input[type="tel"][data-supertokens~="input-phoneNumber"] {
102102
margin: 9px 0;
103103
}
104104

105-
[data-supertokens~="continueWithSupertokensLink"] {
105+
[data-supertokens~="continueWithPasswordlessLink"] {
106106
margin-top: 9px;
107107
}

test/end-to-end/passwordless.test_gen.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,14 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
227227
await setInputValues(page, [{ name: inputNameEmail, value: unregEmail }]);
228228
await submitForm(page);
229229

230-
await waitForSTElement(page, "[data-supertokens~=continueWithSupertokensLink]");
230+
await waitForSTElement(page, "[data-supertokens~=continueWithPasswordlessLink]");
231231
await waitForSTElement(page, "[data-supertokens~=input-password]");
232232

233233
const changeButton = await waitForSTElement(page, "[data-supertokens~=contactMethodSwitcher]");
234234
await changeButton.click();
235235

236236
await waitForSTElement(page, "[data-supertokens~=input-password]", true);
237-
await waitForSTElement(page, "[data-supertokens~=continueWithSupertokensLink]", true);
237+
await waitForSTElement(page, "[data-supertokens~=continueWithPasswordlessLink]", true);
238238

239239
await setInputValues(page, [{ name: inputNamePhone, value: examplePhoneNumber }]);
240240
await submitForm(page);
@@ -260,7 +260,7 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
260260
await setInputValues(page, [{ name: inputNameEmail, value: registeredEmailWithPass }]);
261261
await submitForm(page);
262262
await setInputValues(page, [{ name: "password", value: "Asdf12.." }]);
263-
await waitForSTElement(page, "[data-supertokens~=continueWithSupertokensLink]", true);
263+
await waitForSTElement(page, "[data-supertokens~=continueWithPasswordlessLink]", true);
264264
await submitForm(page);
265265

266266
await page.waitForSelector(".sessionInfo-user-id");

0 commit comments

Comments
 (0)