aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-13 13:16:35 +0200
committerFlorian Dold <florian@dold.me>2022-04-13 13:16:35 +0200
commit31b6496db502b302e5a33597723ed847a83fe63e (patch)
treeab1865f78dbfcce89829906b86917f87449837b2 /packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx
parent2c3aeabed100fb16c33171c005aa41b026eccca1 (diff)
downloadwallet-core-31b6496db502b302e5a33597723ed847a83fe63e.tar.xz
anastasis-core: salt rename, fix tagging
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx')
-rw-r--r--packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx
index 5f03437af..fcff0b498 100644
--- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx
+++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx
@@ -43,10 +43,7 @@ export function AuthMethodPostSolve({ id }: AuthMethodSolveProps): VNode {
</AnastasisClientFrame>
);
}
- if (
- !reducer.currentReducerState ||
- reducer.currentReducerState.recovery_state === undefined
- ) {
+ if (reducer.currentReducerState?.reducer_type !== "recovery") {
return (
<AnastasisClientFrame hideNav title="Recovery problem">
<div>invalid state</div>