Skip to content

Commit 4fe4e2c

Browse files
committed
Fix defaults in PercentageValue component
1 parent a6a25ba commit 4fe4e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/PercentageValue/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ type PercentageValueProps = {
1212
}
1313

1414
export const PercentageValue: FC<PercentageValueProps> = ({
15-
maximumFractionDigits,
16-
adaptMaximumFractionDigits = 2,
15+
maximumFractionDigits = 0,
16+
adaptMaximumFractionDigits = false,
1717
value,
1818
total = 100,
1919
threshold = 0.001,

0 commit comments

Comments
 (0)