diff --git a/src/app/components/FireCalculatorForm.tsx b/src/app/components/FireCalculatorForm.tsx index 64f3a0b..df99ed8 100644 --- a/src/app/components/FireCalculatorForm.tsx +++ b/src/app/components/FireCalculatorForm.tsx @@ -507,7 +507,7 @@ export default function FireCalculatorForm() { - {result && result.yearlyData && result.yearlyData.length > 0 && ( + {result.yearlyData && result.yearlyData.length > 0 && ( Financial Projection @@ -549,7 +549,7 @@ export default function FireCalculatorForm() { } else if (value >= 1000) { return `${(value / 1000).toFixed(0)}K`; } - return `${value}`; + return value.toString(); }} width={80} /> @@ -560,7 +560,7 @@ export default function FireCalculatorForm() { .payload as (typeof result.yearlyData)[0]; return (
-

{`Year: ${data.year} (Age: ${data.age})`}

+

{`Year: ${data.year.toString()} (Age: ${data.age.toString()})`}

{`Balance: ${formatNumber(data.balance)}`}

{result.fireNumber && (

{`FIRE Number: ${formatNumber(result.fireNumber)}`}