You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the volunteer/posting/:id route, if an id for a posting that does not exist is provided, redirect to the NotFound component. Currently, the posting details page will just render a blank page.
This will involve editing frontend\src\components\pages\volunteer\posting\VolunteerPostingDetails.tsx.
You may also want to use the Redirect component from react router.
The text was updated successfully, but these errors were encountered:
LenaNguyen
changed the title
Handle case when posting does not exist for posting details page
Redirect to 404 page when posting does not exist
Feb 20, 2022
For the
volunteer/posting/:id
route, if an id for a posting that does not exist is provided, redirect to theNotFound
component. Currently, the posting details page will just render a blank page.This will involve editing
frontend\src\components\pages\volunteer\posting\VolunteerPostingDetails.tsx
.You may also want to use the Redirect component from react router.
The text was updated successfully, but these errors were encountered: