From 98c803414f226430bdbe665f5195603f6e21b9f3 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Fri, 27 Sep 2024 09:39:04 +0200 Subject: [PATCH] feat: don't hardcode empty projects --- .../src/component/personalDashboard/PersonalDashboard.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/component/personalDashboard/PersonalDashboard.tsx b/frontend/src/component/personalDashboard/PersonalDashboard.tsx index e2e8b6da973b..9a42a9c264fa 100644 --- a/frontend/src/component/personalDashboard/PersonalDashboard.tsx +++ b/frontend/src/component/personalDashboard/PersonalDashboard.tsx @@ -178,12 +178,7 @@ export const PersonalDashboard = () => { const name = user?.name; - const { - // projects, - activeProject, - setActiveProject, - } = useProjects(); - const projects = []; + const { projects, activeProject, setActiveProject } = useProjects(); const { personalDashboard, refetch: refetchDashboard } = usePersonalDashboard();