diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx index 2a373389c..f18afba81 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx @@ -2,6 +2,8 @@ import React from 'react' import { useStore } from 'App/mstore' import { observer } from 'mobx-react-lite' import { toJS } from 'mobx' +// import WebPlayer from "Player/web/WebPlayer"; +// inject mob file from chalice function ClickMapCard() { const { metricStore } = useStore() diff --git a/frontend/app/components/Session/LivePlayer.tsx b/frontend/app/components/Session/LivePlayer.tsx index 54ea109ef..b45ebe1a3 100644 --- a/frontend/app/components/Session/LivePlayer.tsx +++ b/frontend/app/components/Session/LivePlayer.tsx @@ -88,7 +88,7 @@ function LivePlayer({ const TABS = { EVENTS: 'User Steps', - HEATMAPS: 'Click Map', + CLICKMAP: 'Click Map', }; const [activeTab, setActiveTab] = useState(''); diff --git a/frontend/app/components/Session/PlayerContent.js b/frontend/app/components/Session/PlayerContent.js index 64d896455..f78b71897 100644 --- a/frontend/app/components/Session/PlayerContent.js +++ b/frontend/app/components/Session/PlayerContent.js @@ -9,10 +9,10 @@ import { observer } from 'mobx-react-lite'; const TABS = { EVENTS: 'User Steps', - HEATMAPS: 'Click Map', + CLICKMAP: 'Click Map', }; -function PlayerContent({ session, live, fullscreen, activeTab, setActiveTab }) { +function PlayerContent({ session, live, fullscreen, activeTab, setActiveTab, isClickmap }) { const { store } = React.useContext(PlayerContext) const { @@ -51,7 +51,7 @@ function PlayerContent({ session, live, fullscreen, activeTab, setActiveTab }) { style={activeTab && !fullscreen ? { maxWidth: 'calc(100% - 270px)' } : undefined} >