diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-05 12:06:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-05 12:06:24 -0300 |
commit | 8eee38d55936c194637ecead302dde69ec0b9897 (patch) | |
tree | fc87a818fa586152e5f6ad1dfb29e917abe959f7 /packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts | |
parent | d5c5c7463e5210916822c8030bb59c7b0f3ccc1c (diff) | |
download | wallet-core-8eee38d55936c194637ecead302dde69ec0b9897.tar.xz |
fix #7791
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ExchangeSelection/index.ts | 6 |
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, |