diff options
author | Florian Dold <florian@dold.me> | 2022-04-13 13:16:35 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-04-13 13:16:35 +0200 |
commit | 31b6496db502b302e5a33597723ed847a83fe63e (patch) | |
tree | ab1865f78dbfcce89829906b86917f87449837b2 /packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx | |
parent | 2c3aeabed100fb16c33171c005aa41b026eccca1 (diff) | |
download | wallet-core-31b6496db502b302e5a33597723ed847a83fe63e.tar.xz |
anastasis-core: salt rename, fix tagging
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx index 1fd4343ab..3b00f6f2a 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx @@ -44,10 +44,7 @@ export function AuthMethodSmsSolve({ 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> |