Skip to content

Commit 1015d0b

Browse files
authored
Fix typo in twoFAVerifyVerificationType and twoFAVerificationType comment (#62)
* fix: update all seed files to correct a typo * fix: correct typo in twoFAVerifyVerificationType comment * fix: correct typo in twoFAVerificationType comment
1 parent 7b05f04 commit 1015d0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/14.enable-2fa/03.problem.verify/app/routes/settings+/profile.two-factor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const handle = {
66
}
77

88
// 🐨 export a twoFAVerificationType constant set to '2fa'
9-
// 🦺 make it type-safer by adding "satisifes VerificationTypes"
9+
// 🦺 make it type-safer by adding "satisfies VerificationTypes"
1010

1111
export default function TwoFactorRoute() {
1212
return <Outlet />

exercises/14.enable-2fa/03.problem.verify/app/routes/settings+/profile.two-factor.verify.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function action({ request }: ActionFunctionArgs) {
104104
return json({ status: 'error', submission } as const, { status: 400 })
105105
}
106106

107-
// 🐨 update the verification from the twoFAVerifyVerifycationType to the twoFAVerificationType
107+
// 🐨 update the verification from the twoFAVerifyVerificationType to the twoFAVerificationType
108108
// 🐨 set the expiresAt to null! This should never expire.
109109

110110
throw await redirectWithToast('/settings/profile/two-factor', {

0 commit comments

Comments
 (0)