We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b5cc5 commit 5c1c161Copy full SHA for 5c1c161
src/components/veYFI-calculator/calculations.ts
@@ -141,7 +141,7 @@ export function generateSinglePoint(
141
): { value: number; boost: number } | null {
142
const boost = calcFunc(value)
143
if (!isNaN(boost) && isFinite(boost)) {
144
- return { value: parseFloat(value.toFixed(5)), boost } // Modified: keys are 'value' and 'boost', value is a string
+ return { value: parseFloat(value.toFixed(5)), boost } // Modified: keys are 'value' and 'boost', value is a number
145
}
146
return null
147
0 commit comments