taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit a2eedcd72f22aa526d3c0fc9d54b6e0442fabb8b
parent fafe5562174b044dce46f551f0767fb4001471d7
Author: Florian Dold <dold@taler.net>
Date:   Fri, 31 Jul 2026 12:55:33 +0200

ui: drop the unreachable duplicate case in the transfer details page

NotFound was listed twice; the second one could never be taken.

Diffstat:
Mpackages/taler-merchant-webui/src/paths/instance/transfers/list/DetailsPage.tsx | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/packages/taler-merchant-webui/src/paths/instance/transfers/list/DetailsPage.tsx b/packages/taler-merchant-webui/src/paths/instance/transfers/list/DetailsPage.tsx @@ -52,9 +52,6 @@ export default function DetailsPage({ return <NotFoundPageOrAdminCreate />; case HttpStatusCode.Conflict: return <NotFoundPageOrAdminCreate />; - case HttpStatusCode.NotFound: { - return <NotFoundPageOrAdminCreate />; - } default: { assertUnreachable(resultDetails.details); } @@ -265,6 +262,7 @@ function DetailsPageInternal({ {orders.map((i, idx) => { return ( <ReconciliationDetailsRow + key={idx} orderId={i} deposit={merged[i].paid} fee={merged[i].fee}