Skip to content

Commit

Permalink
feat: prevent initialization of direct gift for membership projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Nov 12, 2024
1 parent 56a6baa commit 562fa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
utmSource = context.query.utm_source;

// Set gift details if there is s (support link) in the query params
if (context.query.s) {
if (projectDetails?.classification !== "membership" && context.query.s) {
try {
const requestParams = {
url: `/app/profiles/${context.query.s}`,
Expand Down

0 comments on commit 562fa92

Please sign in to comment.