diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-12 10:57:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-12 10:58:09 -0300 |
commit | 27201416c7d234361507e6055ce7ed42c11c650e (patch) | |
tree | 9a8a6ec614f8c8a221af86ddf2c9fd3b54cfceb5 /packages/taler-wallet-webextension/src/cta | |
parent | fc413bb5eca2171abb93b96e9b86f7b76c0a27af (diff) | |
download | wallet-core-27201416c7d234361507e6055ce7ed42c11c650e.tar.xz |
ref #7323
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta')
3 files changed, 8 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Tip/stories.tsx b/packages/taler-wallet-webextension/src/cta/Tip/stories.tsx index efb9424d1..d200029e7 100644 --- a/packages/taler-wallet-webextension/src/cta/Tip/stories.tsx +++ b/packages/taler-wallet-webextension/src/cta/Tip/stories.tsx @@ -42,4 +42,5 @@ export const Ready = createExample(ReadyView, { merchantBaseUrl: "http://merchant.url/", exchangeBaseUrl: "http://exchange.url/", accept: {}, + cancel: {}, }); diff --git a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx index 2df55f8fd..fbc93c5ab 100644 --- a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx @@ -93,7 +93,7 @@ export function ReadyView(state: State.Ready): VNode { </Button> </section> <section> - <Link upperCased onClick={state.cancel}> + <Link upperCased onClick={state.cancel.onClick}> <i18n.Translate>Cancel</i18n.Translate> </Link> </section> diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts index ce964f7f7..be580f6d0 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts @@ -45,7 +45,12 @@ const exchanges: ExchangeFullDetails[] = [ denomination_keys: [], }, ], - denominations: [{} as any], + feesDescription: { + deposit: [], + refresh: [], + refund: [], + withdraw: [], + }, wireInfo: { accounts: [], feesForType: {}, |