Skip to content

Commit 4380955

Browse files
committed
fixup small things
1 parent 6f5ec59 commit 4380955

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/routes/resources+/verify.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { handleVerification as handleForgotPasswordVerification } from '../_auth
1212
import { handleVerification as handleOnboardingVerification } from '../_auth+/onboarding.tsx'
1313
import { handleVerification as handleChangeEmailVerification } from '../settings+/profile.change-email.index/index.tsx'
1414
import { handleVerification as handleEnableTwoFactorVerification } from '../settings+/profile.two-factor.verify.tsx'
15-
import { handleVerification as handleReverifyVerification } from './login.tsx'
15+
import { handleVerification as handleLoginTwoFactorVerification } from './login.tsx'
1616

1717
export const ROUTE_PATH = '/resources/verify'
1818

@@ -193,7 +193,7 @@ export async function validateRequest(
193193
return handleEnableTwoFactorVerification({ request, body, submission })
194194
}
195195
case '2fa': {
196-
return handleReverifyVerification({ request, body, submission })
196+
return handleLoginTwoFactorVerification({ request, body, submission })
197197
}
198198
case 'change-email': {
199199
await deleteVerification()

app/routes/settings+/profile.index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default function EditUserProfile() {
224224
<div className="col-span-full my-3">
225225
<Link to="two-factor">
226226
{data.isTwoFactorEnabled ? (
227-
<Icon name="lock-closed"> 2FA is enabled</Icon>
227+
<Icon name="lock-closed">2FA is enabled</Icon>
228228
) : (
229229
<Icon name="lock-open-1">Enable 2FA</Icon>
230230
)}

0 commit comments

Comments
 (0)