diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Tip')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Tip/stories.tsx | 1 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Tip/views.tsx | 2 |
2 files changed, 2 insertions, 1 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> |