diff --git a/pages/index.tsx b/pages/index.tsx index 2726a1f1..166af037 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -457,6 +457,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => { // Set gift details if gift = true in the query params (only for tree projects) if ( + giftDetails?.type !== "direct" && context.query.gift === "true" && projectDetails !== null && !NON_GIFTABLE_PROJECT_PURPOSES.includes(projectDetails.purpose)