We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d5779 commit e53e3a9Copy full SHA for e53e3a9
components/report-details/funding-progress.tsx
@@ -15,7 +15,7 @@ const FundingProgress: React.FC<FundingProgressProps> = ({
15
reportInfo,
16
}) => {
17
const { percentProgress, dollarAmountNeeded } = useFunding();
18
- const isFullyFunded = dollarAmountNeeded === "0.00";
+ const isFullyFunded = percentProgress >= 100;
19
20
return (
21
<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