Skip to content

Commit 4a640b4

Browse files
authored
fix: incorrect arrow function expression (#8324)
1 parent 79c0e69 commit 4a640b4

File tree

1 file changed

+5
-5
lines changed
  • src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide

1 file changed

+5
-5
lines changed

src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Also notice that `userConfirmed` is no longer returned, and instead we return `n
301301
const handleConfirmSignUp = async ({
302302
username,
303303
confirmationCode
304-
}) {
304+
}) => {
305305
await Auth.confirmSignUp(username, confirmationCode);
306306
}
307307

@@ -455,7 +455,7 @@ In v6, `confirmSignUp` now takes named parameters instead of positional paramete
455455
const handleConfirmSignUp = async ({
456456
username,
457457
confirmationCode
458-
}) {
458+
}) => {
459459
const {
460460
isSignUpComplete,
461461
userId,
@@ -475,7 +475,7 @@ In v6, `confirmSignUp` now takes named parameters instead of positional paramete
475475
const handleConfirmSignUp = async ({
476476
username,
477477
confirmationCode
478-
}) {
478+
}) => {
479479
await Auth.confirmSignUp(
480480
username,
481481
confirmationCode
@@ -498,7 +498,7 @@ In v6, `confirmSignUp` now takes named parameters instead of positional paramete
498498
const handleConfirmSignUp = async ({
499499
username,
500500
confirmationCode
501-
}) {
501+
}) => {
502502
const {
503503
isSignUpComplete,
504504
userId,
@@ -522,7 +522,7 @@ In v6, `confirmSignUp` now takes named parameters instead of positional paramete
522522
const handleConfirmSignUp = async ({
523523
username,
524524
confirmationCode
525-
}) {
525+
}) => {
526526
await Auth.confirmSignUp(
527527
username,
528528
confirmationCode,

0 commit comments

Comments
 (0)