Skip to content

Commit a97f93e

Browse files
authored
Merge pull request #2933 from pyth-network/fix/decimals-number
fix(insights): increase max decimals
2 parents 50e76e0 + ab6537d commit a97f93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/insights/src/hooks/use-price-formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useNumberFormatter } from "react-aria";
44
export const usePriceFormatter = () => {
55
const bigNumberFormatter = useNumberFormatter({ maximumFractionDigits: 2 });
66
const smallNumberFormatter = useNumberFormatter({
7-
maximumSignificantDigits: 5,
7+
maximumSignificantDigits: 6,
88
});
99
const format = useCallback(
1010
(n: number) =>

0 commit comments

Comments
 (0)