taler-typescript-core

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

commit 788605aa7965c464adf52e59e62c2c0254aa9311
parent 27454177ef11d33afe7a2f02eb29efb3ebcca06c
Author: Sebastian <sebasjm@taler-systems.com>
Date:   Mon,  1 Jun 2026 11:22:13 -0300

dont fail on missing currency spec

Diffstat:
Mpackages/web-util/src/components/RenderAmount.tsx | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/packages/web-util/src/components/RenderAmount.tsx b/packages/web-util/src/components/RenderAmount.tsx @@ -77,9 +77,6 @@ export function RenderAmountBulma({ const neg = !!negative; const currentSpec = spec ?? (!specMap ? undefined : specMap[value.currency]); - if (!currentSpec) { - throw Error("missing currency spec"); - } const { currency, normal, small } = Amounts.stringifyValueWithSpec( value,