From ea09cacc95ac2cbddf18d83ff08ded4ea2413320 Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Mon, 9 Nov 2020 19:21:58 +0100 Subject: [PATCH] fix: reset pending on invalid value --- src/screens/Authenticate/Authenticate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/Authenticate/Authenticate.tsx b/src/screens/Authenticate/Authenticate.tsx index ba4ed78e..7188d5c6 100644 --- a/src/screens/Authenticate/Authenticate.tsx +++ b/src/screens/Authenticate/Authenticate.tsx @@ -398,7 +398,7 @@ export const Authenticate = ({ ); const onInvalidValue = (value: ChallengeValue) => { - setPending(true); + setPending(false); dispatch({ type: 'setState', id: value.prompt.id.toString(),