diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-17 10:18:17 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-17 10:18:17 -0300 |
commit | fd3278f4c681fb60c6f791ab6fa066f9a524478a (patch) | |
tree | 09dfe350b84d1c79a6133941dcff383553370730 /packages/taler-wallet-webextension/src/cta/Withdraw/index.ts | |
parent | e5e469575bf97433197ed406717c214dfcb4ce5e (diff) | |
download | wallet-core-fd3278f4c681fb60c6f791ab6fa066f9a524478a.tar.xz |
making test pass
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw/index.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw/index.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/index.ts b/packages/taler-wallet-webextension/src/cta/Withdraw/index.ts index 075b21dc3..a3b3df8b3 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw/index.ts +++ b/packages/taler-wallet-webextension/src/cta/Withdraw/index.ts @@ -56,11 +56,11 @@ export namespace State { error: undefined; } export interface LoadingUriError { - status: "loading-error"; + status: "uri-error"; error: HookError; } export interface LoadingInfoError { - status: "loading-info"; + status: "amount-error"; error: HookError; } @@ -87,8 +87,8 @@ export namespace State { const viewMapping: StateViewMap<State> = { loading: Loading, - "loading-error": LoadingUriView, - "loading-info": LoadingInfoView, + "uri-error": LoadingUriView, + "amount-error": LoadingInfoView, "no-exchange": NoExchangesView, "selecting-exchange": ExchangeSelectionPage, success: SuccessView, |