Skip to content

Commit 4f56e18

Browse files
committed
Adjust digits
1 parent 788b589 commit 4f56e18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Header/GasPriceViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const GasPriceViewer = () => {
2525

2626
const displayedScrollGasPrice = useMemo(() => {
2727
if (scrollGasPrice) {
28-
return Number(formatGwei(scrollGasPrice)).toFixed(3)
28+
return Number(formatGwei(scrollGasPrice)).toFixed(5)
2929
}
3030
return "-"
3131
}, [scrollGasPrice])

src/components/Header/MobileGasPriceViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const MobileGasPriceViewer = props => {
3535

3636
const displayedScrollGasPrice = useMemo(() => {
3737
if (scrollGasPrice) {
38-
return commafy(formatGwei(scrollGasPrice).toString(), 3)
38+
return commafy(formatGwei(scrollGasPrice).toString(), 5)
3939
}
4040
return "-"
4141
}, [scrollGasPrice])

0 commit comments

Comments
 (0)