diff options
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); } |