Skip to content

Commit e53e3a9

Browse files
committed
fix: 🐛 Update fullyFunded calculation
1 parent c5d5779 commit e53e3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/report-details/funding-progress.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const FundingProgress: React.FC<FundingProgressProps> = ({
1515
reportInfo,
1616
}) => {
1717
const { percentProgress, dollarAmountNeeded } = useFunding();
18-
const isFullyFunded = dollarAmountNeeded === "0.00";
18+
const isFullyFunded = percentProgress >= 100;
1919

2020
return (
2121
<section className="px-3 py-4 flex flex-col space-y-2 md:flex-row md:space-x-4 md:justify-between bg-slate-50/80 backdrop-blur-md rounded-t-xl md:rounded-b-xl shadow-md max-w-3xl">

0 commit comments

Comments
 (0)