From a37b9a1c952d47375aad572a94bd3f5389dd3e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Thu, 2 Feb 2023 20:10:36 +0100 Subject: [PATCH] Remove console log (#3037) It seems to have slipped but let me know if it's needed. The thing is it logs in every screen. --- .../component/admin/network/NetworkOverview/NetworkOverview.tsx | 1 - frontend/src/component/project/Project/ProjectOverview.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/frontend/src/component/admin/network/NetworkOverview/NetworkOverview.tsx b/frontend/src/component/admin/network/NetworkOverview/NetworkOverview.tsx index 07253ba805..424fd8327c 100644 --- a/frontend/src/component/admin/network/NetworkOverview/NetworkOverview.tsx +++ b/frontend/src/component/admin/network/NetworkOverview/NetworkOverview.tsx @@ -36,7 +36,6 @@ const toGraphData = (metrics?: RequestsPerSecondSchema) => { ?.map(result => { const values = (result.values || []) as ResultValue[]; const data = values.filter(value => isRecent(value)) || []; - console.log('data', data); let reqs = 0; if (data.length) { reqs = parseFloat(data[data.length - 1][1]); diff --git a/frontend/src/component/project/Project/ProjectOverview.tsx b/frontend/src/component/project/Project/ProjectOverview.tsx index 8a21f88fc8..39fd019c0a 100644 --- a/frontend/src/component/project/Project/ProjectOverview.tsx +++ b/frontend/src/component/project/Project/ProjectOverview.tsx @@ -45,7 +45,6 @@ const ProjectOverview = () => { const { setLastViewed } = useLastViewedProject(); const { uiConfig } = useUiConfig(); - console.log({ project }); useEffect(() => { setLastViewed(projectId); }, [projectId, setLastViewed]);