diff --git a/packages/grant-explorer/src/features/projects/ViewProject.tsx b/packages/grant-explorer/src/features/projects/ViewProject.tsx index c44c95d64..f0887ebbe 100644 --- a/packages/grant-explorer/src/features/projects/ViewProject.tsx +++ b/packages/grant-explorer/src/features/projects/ViewProject.tsx @@ -157,9 +157,9 @@ export default function ViewProject() { [ project, description, - projectApplications, isProjectApplicationsLoading, projectApplicationsError, + pastRroundApplications, ] ); @@ -506,7 +506,10 @@ export function RoundListItem({ }); const roundType = - projectApplication.round.strategyName === "allov1.Direct" + projectApplication.round.strategyName === "allov1.Direct" || + projectApplication.round.strategyName === + "allov2.DirectGrantsSimpleStrategy" || + projectApplication.round.strategyName === "allov2.DirectGrantsLiteStrategy" ? "Direct grants" : "Quadratic funding"; @@ -522,13 +525,21 @@ export function RoundListItem({ {projectApplication.round.roundMetadata.name} -
- - {applicationsStartTime} - {donationsEndTime} - -
+ {roundType === "Quadratic funding" ? ( +
+ + {applicationsStartTime} - {donationsEndTime} + +
+ ) : ( +
+ {applicationsStartTime} +
+ )}
- + {roundType}
@@ -588,7 +599,7 @@ export function ActiveRoundComponent(props: { {"Chain