aboutsummaryrefslogtreecommitdiff
path: root/packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/challenger-ui/src/components/CheckChallengeIsUpToDate.tsx')
-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 />;