Skip to content

Commit fc8de3d

Browse files
Fix incorrect password prompt not appearing (canada-ca#1475)
1 parent fbe27c6 commit fc8de3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/SignInPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export default function SignInPage() {
3535
.email(fieldRequirements.email.email.message),
3636
})
3737

38-
const [signIn, { loading, error }] = useMutation(SIGN_IN, {
39-
onError() {
38+
const [signIn, { loading }] = useMutation(SIGN_IN, {
39+
onError(error) {
4040
toast({
4141
title: error.message,
4242
description: t`Unable to sign in to your account, please try again.`,

0 commit comments

Comments
 (0)