CollActionteam / collaction_website

CollAction Website
https://www.collaction.org
GNU General Public License v3.0
5 stars 2 forks source link

Fixed broken project page #110

Closed dhairya-rathod closed 1 year ago

dhairya-rathod commented 1 year ago

This PR closes #104

The server request must include the query parameter page for the /projects page. The server request is currently being passed with page value as undefined which is why it produces an error. In this PR, the problem was fixed by adding the default value of a page if it is undefined.

Moreover, a safety check for images and description was added to the src\components\CrowdActionCard.tsx component because the page would crash without those values.

image

vercel[bot] commented 1 year ago

@dhairya-rathod is attempting to deploy a commit to the Collaction Team on Vercel.

A member of the Team first needs to authorize it.

tomsiebring commented 1 year ago

@dastrong How does it look to you?

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2023 0:09am