blob: 7ccc511ff0b8cffeb6d24fb78d495331b2570370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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>
<p>
Secret: {bytesToString(decodeCrock(props.recoveryState.core_secret?.value!))}
</p>
</AnastasisClientFrame>
);
}
|