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
After donating an item, you can view your item in the History tab. However, when you click on item, you get sent to the wrong route (Donor/DonationInfo/[slug]) instead of (Donor/History/DonationInfo/[slug]). Fix this issue in app/Donor/History/page.tsx.
Next, remove all the admin related functions in app/Donor/History/DonationInfo/[[...slug]]/page.tsx such as changing AdminNavbar to DonorNavbar, Removing the scheduling and receipt tabs, and remove the ability to change the donation status and notes (only make these display).
Also change the top of the function to the following:
The donor's name is also undefined. To fetch the donor's name, create a backend api in userRotues to fetch a Clerk User, then create a frontend route in /api/user that makes a request to this api, and then use this function to fetch the Clerk User and access their full name in app/Donor/History/DonationInfo/[[...slug]]/page.tsx.
The text was updated successfully, but these errors were encountered:
After donating an item, you can view your item in the History tab. However, when you click on item, you get sent to the wrong route (Donor/DonationInfo/[slug]) instead of (Donor/History/DonationInfo/[slug]). Fix this issue in app/Donor/History/page.tsx.
Next, remove all the admin related functions in app/Donor/History/DonationInfo/[[...slug]]/page.tsx such as changing AdminNavbar to DonorNavbar, Removing the scheduling and receipt tabs, and remove the ability to change the donation status and notes (only make these display).
Also change the top of the function to the following:
The donor's name is also undefined. To fetch the donor's name, create a backend api in userRotues to fetch a Clerk User, then create a frontend route in /api/user that makes a request to this api, and then use this function to fetch the Clerk User and access their full name in app/Donor/History/DonationInfo/[[...slug]]/page.tsx.
The text was updated successfully, but these errors were encountered: