Skip to content

Commit 8d698a2

Browse files
committed
Revert "fix issue 1011"
This reverts commit 609ca6e.
1 parent 609ca6e commit 8d698a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/shared/utils/memberStats.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export function getHistory(stats, track, subTrack) {
9696

9797

9898
const percentageFunc = n => `${(n * 100).toFixed(2)}%`;
99-
const formatWithDecimalFunc = n => `${n.toFixed(2)}%`;
10099
const percentileFunc = n => (n === 0 ? '0' : `${n.toFixed(0)}%`);
101100
const ratingFunc = n => n.toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g, ',');
102101
const defaultRenderFunc = n => n.toFixed(0);
@@ -133,7 +132,7 @@ const interestingData = {
133132
{ key: 'activeProjects', label: 'active projects', postFunc: null },
134133
{ key: 'contests', label: 'total challenges', postFunc: null },
135134
{ key: 'projects', label: 'total projects', postFunc: null },
136-
{ key: 'fulfillment', label: 'fulfillment', postFunc: formatWithDecimalFunc },
135+
{ key: 'fulfillment', label: 'fulfillment', postFunc: percentileFunc },
137136
],
138137
};
139138

0 commit comments

Comments
 (0)