aboutsummaryrefslogtreecommitdiff
path: root/packages/challenger-ui/src/components
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-06-30 17:09:46 -0300
committerSebastian <sebasjm@gmail.com>2024-06-30 23:46:47 -0300
commite0fa99e21e026e77f3143bf9e62573f9707f2e25 (patch)
tree26f28836b0ba8ec3e102b8cacc0cc1fe25885e49 /packages/challenger-ui/src/components
parent4133128c4fd795bb3fb34e2f49e43c2f53af72ef (diff)
downloadwallet-core-e0fa99e21e026e77f3143bf9e62573f9707f2e25.tar.xz
removed lastTry, added remember
Diffstat (limited to 'packages/challenger-ui/src/components')
-rw-r--r--packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx b/packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx
index ebfa57d02..5ac7998d8 100644
--- a/packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx
+++ b/packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx
@@ -45,8 +45,8 @@ export function CheckChallengeIsUpToDate({
onNoMoreChanges,
onNoInfo,
}: Props): VNode {
- const { state, updateStatus } = useSessionState();
- const {i18n} = useTranslationContext();
+ const { state } = useSessionState();
+ const { i18n } = useTranslationContext();
const sessionId = sessionFromParam
? sessionFromParam
@@ -111,8 +111,6 @@ export function CheckChallengeIsUpToDate({
}
}
- updateStatus(result.body);
-
if (onCompleted && "redirectURL" in result.body) {
onCompleted();
return <Loading />;