From dc4bbb24154f1acee702796a0db12895ded4b1e5 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Thu, 26 Oct 2023 17:57:16 +0200 Subject: [PATCH] fix: replace hardcoded fiat amount --- src/lib/objects/payggy/views/details.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/lib/objects/payggy/views/details.svelte b/src/lib/objects/payggy/views/details.svelte index 58ceaccd..d9c4a709 100644 --- a/src/lib/objects/payggy/views/details.svelte +++ b/src/lib/objects/payggy/views/details.svelte @@ -118,7 +118,14 @@ {toSignificant(transaction.token.amount, transaction.token.decimals)} {transaction.token.symbol} -
≈ 13.91 EUR at the time of transaction
+
+ {getFiatAmountText( + fiatRates, + fiatSymbol, + transaction.token.amount, + transaction.token.symbol, + )} +