aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts
index 299c236c4..d711f1ecc 100644
--- a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts
+++ b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts
@@ -38,7 +38,7 @@ import {
export interface Props {
list: ExchangeListItem[];
- currentExchange: string;
+ initialValue: string;
onCancel: () => Promise<void>;
onSelection: (exchange: string) => Promise<void>;
}
@@ -50,7 +50,7 @@ export type State =
| State.Comparing
| State.ShowingTos
| State.ShowingPrivacy
- | SelectExchangeState.NoExchange;
+ | SelectExchangeState.NoExchangeFound;
export namespace State {
export interface Loading {
@@ -102,7 +102,7 @@ const viewMapping: StateViewMap<State> = {
loading: Loading,
error: ErrorAlertView,
comparing: ComparingView,
- "no-exchange": NoExchangesView,
+ "no-exchange-found": NoExchangesView,
"showing-tos": TosContentView,
"showing-privacy": PrivacyContentView,
ready: ReadyView,