diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-25 12:18:52 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-25 12:18:52 -0300 |
commit | dcddc4c53a59b087c5e48b6b20ed740514257bc8 (patch) | |
tree | d55b445119efd82c516746ef929ae5e32e9455e7 /packages/taler-wallet-webextension/src/cta/Payment/views.tsx | |
parent | c121eb875eb05b5fb49bd5583b6fcd4da8180879 (diff) | |
download | wallet-core-dcddc4c53a59b087c5e48b6b20ed740514257bc8.tar.xz |
revert the Lost payment result
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Payment/views.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Payment/views.tsx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx index 6b502a87f..0f6cb5c28 100644 --- a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx @@ -65,21 +65,6 @@ type SupportedStates = | State.NoBalanceForCurrency | State.NoEnoughBalance; -export function LostView(state: State.Lost): VNode { - const { i18n } = useTranslationContext(); - - return ( - <ErrorMessage - title={<i18n.Translate>Could not load pay status</i18n.Translate>} - description={ - <i18n.Translate> - The proposal was lost, another should be downloaded - </i18n.Translate> - } - /> - ); -} - export function BaseView(state: SupportedStates): VNode { const { i18n } = useTranslationContext(); @@ -417,9 +402,6 @@ export function ButtonsSection({ </Fragment> ); } - if (payStatus.status === PreparePayResultType.Lost) { - return <Fragment />; - } assertUnreachable(payStatus); } |