From 4458d36cc1bfb7538b1787fac3f4c7bd300efad3 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Wed, 7 Feb 2024 20:56:33 -0600 Subject: [PATCH] Fix volunteer history route --- components/Home/PastActivity.tsx | 2 +- components/Volunteer/VolunteerDashboard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Home/PastActivity.tsx b/components/Home/PastActivity.tsx index 9ea1adb..30afdd1 100644 --- a/components/Home/PastActivity.tsx +++ b/components/Home/PastActivity.tsx @@ -63,7 +63,7 @@ const PastActivity = ({ userData }: { userData: QueriedUserData | null }) => { - diff --git a/components/Volunteer/VolunteerDashboard.tsx b/components/Volunteer/VolunteerDashboard.tsx index 22ecca3..2c5f1ab 100644 --- a/components/Volunteer/VolunteerDashboard.tsx +++ b/components/Volunteer/VolunteerDashboard.tsx @@ -93,7 +93,7 @@ const VolunteerDashboard = ({ {/** Button for "See History" */} (window.location.href = '/volunteerHistory')}> + onClick={() => (window.location.href = '/volunteer-history')}>