Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove clg

kruzhambusff8bc1701cec
diff --git a/src/pages/Project/View/ViewProject.helpers.tsx b/src/pages/Project/View/ViewProject.helpers.tsx
index 150711be4..65159af0f 100644
--- a/src/pages/Project/View/ViewProject.helpers.tsx
+++ b/src/pages/Project/View/ViewProject.helpers.tsx
@@ -310,7 +310,6 @@ const getSettings = (
const customEventsToArray = customEvents ? _map(_keys(customEvents), (el) => {
return [el, ...customEvents[el]]
}) : []
- console.log('customEventsToArray', customEvents)
if (!_isEmpty(forecasedChartData)) {
lines.push({
diff --git a/src/pages/Project/View/ViewProject.tsx b/src/pages/Project/View/ViewProject.tsx
index 240c01b90..1708394a8 100644
--- a/src/pages/Project/View/ViewProject.tsx
+++ b/src/pages/Project/View/ViewProject.tsx
@@ -427,6 +427,7 @@ const ViewProject = ({
if (activeTab === PROJECT_TABS.traffic) {
loadCustomEvents()
}
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [activeTab, activeChartMetricsCustomEvents])
// this function is used for requesting the data from the API