Skip to content

Commit 5c1c161

Browse files
committed
chore: fix comment
1 parent 29b5cc5 commit 5c1c161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/veYFI-calculator/calculations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function generateSinglePoint(
141141
): { value: number; boost: number } | null {
142142
const boost = calcFunc(value)
143143
if (!isNaN(boost) && isFinite(boost)) {
144-
return { value: parseFloat(value.toFixed(5)), boost } // Modified: keys are 'value' and 'boost', value is a string
144+
return { value: parseFloat(value.toFixed(5)), boost } // Modified: keys are 'value' and 'boost', value is a number
145145
}
146146
return null
147147
}

0 commit comments

Comments
 (0)