- Block #{transaction.height}
+ Block #{transactionHeight}
- {transaction.spent.length} coins spent,{' '}
- {transaction.created.length} created
+ {transactionSpentLength} coins spent,{' '}
+ {transactionCreatedLength} created
diff --git a/src/pages/ViewOffer.tsx b/src/pages/ViewOffer.tsx
index db44ea04..de4dcecd 100644
--- a/src/pages/ViewOffer.tsx
+++ b/src/pages/ViewOffer.tsx
@@ -26,6 +26,8 @@ export function ViewOffer() {
const [response, setResponse] = useState
(null);
const [fee, setFee] = useState('');
+ const makerFee = toDecimal(summary!.fee, walletState.sync.unit.decimals);
+
useEffect(() => {
if (!offer) return;
@@ -85,7 +87,7 @@ export function ViewOffer() {
{BigNumber(summary?.fee ?? '0').isGreaterThan(0)
- ? t`This does not include a fee of ${toDecimal(summary!.fee, walletState.sync.unit.decimals)} which was already added by the maker.`
+ ? t`This does not include a fee of ${makerFee} which was already added by the maker.`
: ''}