@@ -4,6 +4,7 @@ import React from 'react';
44
55import type { Transaction } from 'types/api/transaction' ;
66
7+ import config from 'configs/app' ;
78import { currencyUnits } from 'lib/units' ;
89import { Skeleton } from 'toolkit/chakra/skeleton' ;
910import { WEI_IN_GWEI } from 'toolkit/utils/consts' ;
@@ -32,6 +33,7 @@ export const TxInfoScrollFees = ({ data, isLoading }: Props) => {
3233 < CurrencyValue
3334 value = { data . scroll ?. l1_fee }
3435 currency = { currencyUnits . ether }
36+ decimals = { String ( config . chain . currency . decimals ) }
3537 exchangeRate = { data . exchange_rate }
3638 flexWrap = "wrap"
3739 />
@@ -51,6 +53,7 @@ export const TxInfoScrollFees = ({ data, isLoading }: Props) => {
5153 < CurrencyValue
5254 value = { data . scroll ?. l2_fee . value }
5355 currency = { currencyUnits . ether }
56+ decimals = { String ( config . chain . currency . decimals ) }
5457 exchangeRate = { data . exchange_rate }
5558 flexWrap = "wrap"
5659 />
@@ -70,6 +73,7 @@ export const TxInfoScrollFees = ({ data, isLoading }: Props) => {
7073 < CurrencyValue
7174 value = { String ( data . scroll ?. l1_fee_commit_scalar ) }
7275 currency = { currencyUnits . ether }
76+ decimals = { String ( config . chain . currency . decimals ) }
7377 exchangeRate = { data . exchange_rate }
7478 flexWrap = "wrap"
7579 />
@@ -90,6 +94,7 @@ export const TxInfoScrollFees = ({ data, isLoading }: Props) => {
9094 < CurrencyValue
9195 value = { String ( data . scroll ?. l1_fee_overhead ) }
9296 currency = { currencyUnits . ether }
97+ decimals = { String ( config . chain . currency . decimals ) }
9398 exchangeRate = { data . exchange_rate }
9499 flexWrap = "wrap"
95100 />
0 commit comments