blob: 7ef9f345c689694aa52529d8b3f18be7fb400592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>
);
}
|