From 21c9b556543a2001759f77dcff5c6c3dc0c96e19 Mon Sep 17 00:00:00 2001 From: aidanprior Date: Sat, 26 Oct 2024 17:07:06 -0400 Subject: [PATCH] test for workflow, it should now pass --- client/src/components/Navbar.tsx | 8 +-- client/src/components/charts/PieChart.tsx | 5 +- client/src/pages/Home.tsx | 23 ++++++-- client/src/pages/Login.tsx | 4 +- client/src/pages/Profile.tsx | 66 ++++++++++++++++------- client/src/pages/SignUp.tsx | 4 +- 6 files changed, 79 insertions(+), 31 deletions(-) diff --git a/client/src/components/Navbar.tsx b/client/src/components/Navbar.tsx index 5e1917f..d9f3040 100644 --- a/client/src/components/Navbar.tsx +++ b/client/src/components/Navbar.tsx @@ -15,7 +15,7 @@ const Navbar: React.FC = ({ toggleDarkMode, isDarkMode }) => { const handleLogout = () => { console.log('User logged out'); - navigate('/'); + navigate('/'); }; useEffect(() => { @@ -37,7 +37,7 @@ const Navbar: React.FC = ({ toggleDarkMode, isDarkMode }) => { return (