diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx | 4 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx | 12 |
2 files changed, 1 insertions, 15 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx b/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx index a5b31b387..0388664b3 100644 --- a/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx +++ b/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx @@ -34,10 +34,6 @@ export const WithdrawalAction = tests.createExample(TestedComponent, { url: "taler://withdraw/something", }); -export const TipAction = tests.createExample(TestedComponent, { - url: "taler://tip/something", -}); - export const NotifyAction = tests.createExample(TestedComponent, { url: "taler://notify-reserve/something", }); diff --git a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx index 304c15f0b..f762121ab 100644 --- a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx +++ b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx @@ -65,17 +65,6 @@ function ContentByUriType({ </Button> </div> ); - case TalerUriAction.Reward: - return ( - <div> - <p> - <i18n.Translate>This page has a reward action.</i18n.Translate> - </p> - <Button variant="contained" color="success" onClick={onConfirm}> - <i18n.Translate>Open reward page</i18n.Translate> - </Button> - </div> - ); case TalerUriAction.Refund: return ( @@ -93,6 +82,7 @@ function ContentByUriType({ case TalerUriAction.PayPull: case TalerUriAction.PayPush: case TalerUriAction.Restore: + case TalerUriAction.Reward: case TalerUriAction.Auditor: case TalerUriAction.Exchange: return null; |