refactor: Remove console log statements from DashboardHome, DashboardProjects, and CollaborationPopup components

This commit is contained in:
2025-07-02 11:22:13 +05:30
parent 458abdb9a5
commit 0848c453af
3 changed files with 0 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ const DashboardHome: React.FC = () => {
const fetchRecentProjects = async () => { const fetchRecentProjects = async () => {
try { try {
const projects = await recentlyViewed(organization, userId); const projects = await recentlyViewed(organization, userId);
console.log('projects: ', projects);
if (JSON.stringify(projects) !== JSON.stringify(recentProjects)) { if (JSON.stringify(projects) !== JSON.stringify(recentProjects)) {
setRecentProjects(projects); setRecentProjects(projects);

View File

@@ -157,7 +157,6 @@ const DashboardProjects: React.FC = () => {
const sharedProject = async () => { const sharedProject = async () => {
try { try {
const sharedWithMe = await sharedWithMeProjects(); const sharedWithMe = await sharedWithMeProjects();
console.log('sharedWithMe: ', sharedWithMe);
setSharedWithMeProjects(sharedWithMe) setSharedWithMeProjects(sharedWithMe)
} catch { } catch {

View File

@@ -79,7 +79,6 @@ const CollaborationPopup: React.FC<CollaborateProps> = ({
if (!projectId) return; if (!projectId) return;
getProjectSharedList(projectId).then((allUser) => { getProjectSharedList(projectId).then((allUser) => {
const accesMail = allUser?.datas || [] const accesMail = allUser?.datas || []
console.log('accesMail: ', accesMail);
setUsers(accesMail) setUsers(accesMail)
}).catch((err) => { }).catch((err) => {