diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx b/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx new file mode 100644 index 000000000..7ef9f345c --- /dev/null +++ b/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx @@ -0,0 +1,17 @@ +import { + bytesToString, + decodeCrock +} from "@gnu-taler/taler-util"; +import { h, VNode } from "preact"; +import { RecoveryReducerProps, AnastasisClientFrame } from "./index"; + +export function RecoveryFinishedScreen(props: RecoveryReducerProps): VNode { + return ( + <AnastasisClientFrame title="Recovery Finished" hideNext> + <h1>Recovery Finished</h1> + <p> + Secret: {bytesToString(decodeCrock(props.recoveryState.core_secret?.value!))} + </p> + </AnastasisClientFrame> + ); +} |