diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-03 19:01:21 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-03 19:01:21 -0300 |
commit | 954557e841d2d9a978b1b012f0fddc44c37add8a (patch) | |
tree | 0bdfeb66472ccead477ad528a794e35d55649cc3 /packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx | |
parent | 11b99b9256d13e16aff460db6f014390ded4670b (diff) | |
download | wallet-core-954557e841d2d9a978b1b012f0fddc44c37add8a.tar.xz |
add error messages for new error cases
Diffstat (limited to 'packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx b/packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx index 7e7ed21cb..a8b57b90c 100644 --- a/packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx +++ b/packages/demobank-ui/src/pages/business/ShowCashoutDetails.tsx @@ -65,7 +65,7 @@ export function ShowCashoutDetails({ } if (result.type === "fail") { switch (result.case) { - case "already-aborted": return <Attention type="warning" title={i18n.str`This cashout has already been aborted.`}> + case "not-found": return <Attention type="warning" title={i18n.str`This cashout not found. Maybe already aborted.`}> </Attention> case "cashout-not-supported": return <Attention type="warning" title={i18n.str`Cashouts are not supported`}> </Attention> |