From 0848c453af334931253ade6bedbc2c68cf87f6f7 Mon Sep 17 00:00:00 2001 From: Jerald-Golden-B Date: Wed, 2 Jul 2025 11:22:13 +0530 Subject: [PATCH] refactor: Remove console log statements from DashboardHome, DashboardProjects, and CollaborationPopup components --- app/src/components/Dashboard/DashboardHome.tsx | 1 - app/src/components/Dashboard/DashboardProjects.tsx | 1 - app/src/components/templates/CollaborationPopup.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/app/src/components/Dashboard/DashboardHome.tsx b/app/src/components/Dashboard/DashboardHome.tsx index 058c0d2..6e9dce7 100644 --- a/app/src/components/Dashboard/DashboardHome.tsx +++ b/app/src/components/Dashboard/DashboardHome.tsx @@ -34,7 +34,6 @@ const DashboardHome: React.FC = () => { const fetchRecentProjects = async () => { try { const projects = await recentlyViewed(organization, userId); - console.log('projects: ', projects); if (JSON.stringify(projects) !== JSON.stringify(recentProjects)) { setRecentProjects(projects); diff --git a/app/src/components/Dashboard/DashboardProjects.tsx b/app/src/components/Dashboard/DashboardProjects.tsx index 4ec3878..ccb56b2 100644 --- a/app/src/components/Dashboard/DashboardProjects.tsx +++ b/app/src/components/Dashboard/DashboardProjects.tsx @@ -157,7 +157,6 @@ const DashboardProjects: React.FC = () => { const sharedProject = async () => { try { const sharedWithMe = await sharedWithMeProjects(); - console.log('sharedWithMe: ', sharedWithMe); setSharedWithMeProjects(sharedWithMe) } catch { diff --git a/app/src/components/templates/CollaborationPopup.tsx b/app/src/components/templates/CollaborationPopup.tsx index 4b196b7..2219bc7 100644 --- a/app/src/components/templates/CollaborationPopup.tsx +++ b/app/src/components/templates/CollaborationPopup.tsx @@ -79,7 +79,6 @@ const CollaborationPopup: React.FC = ({ if (!projectId) return; getProjectSharedList(projectId).then((allUser) => { const accesMail = allUser?.datas || [] - console.log('accesMail: ', accesMail); setUsers(accesMail) }).catch((err) => {