diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx index 2df9db42b..8535880cd 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx @@ -14,7 +14,7 @@ function ClickMapCard({ setCustomSession, visitedEvents }: any) { } }, [metricStore.instance.data.mobsUrl]) - if (!metricStore.instance.data.mobsUrl) return
looking for session
+ if (!metricStore.instance.data?.mobsUrl) return
looking for session
console.log(visitedEvents, metricStore.instance.data.events) if (!visitedEvents || !visitedEvents.length) { return
loading