aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-14 21:00:03 +0200
committerFlorian Dold <florian@dold.me>2022-04-14 21:00:03 +0200
commit3957f529bf4afd96b9bee802e20693fc076968c9 (patch)
tree6286ae0b28f48e232322b05462195dc86a2f9a7f /packages/anastasis-webui
parentbc05050524e3ade854ef36194fad4cdd4b5e15e5 (diff)
anastasis: no more currencies per country
Diffstat (limited to 'packages/anastasis-webui')
-rw-r--r--packages/anastasis-webui/src/utils/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/anastasis-webui/src/utils/index.tsx b/packages/anastasis-webui/src/utils/index.tsx
index 51a074fe9..d2b64e31e 100644
--- a/packages/anastasis-webui/src/utils/index.tsx
+++ b/packages/anastasis-webui/src/utils/index.tsx
@@ -3,6 +3,7 @@ import {
BackupStates,
RecoveryStates,
ReducerState,
+ ReducerStateRecovery,
} from "@gnu-taler/anastasis-core";
import { FunctionalComponent, h, VNode } from "preact";
import { AnastasisProvider } from "../context/anastasis";
@@ -222,7 +223,7 @@ export const reducerStatesExample = {
challengeSolving: {
...base,
recovery_state: RecoveryStates.ChallengeSolving,
- } as ReducerState,
+ } as ReducerStateRecovery,
challengePaying: {
...base,
recovery_state: RecoveryStates.ChallengePaying,