diff --git a/client/public/images/map/story-marker-lg.png b/client/public/images/map/story-marker-lg.png new file mode 100644 index 0000000..c15a3e1 Binary files /dev/null and b/client/public/images/map/story-marker-lg.png differ diff --git a/client/public/images/map/story-marker.png b/client/public/images/map/story-marker.png index 0f42f24..77015eb 100644 Binary files a/client/public/images/map/story-marker.png and b/client/public/images/map/story-marker.png differ diff --git a/client/src/components/chart/index.tsx b/client/src/components/chart/index.tsx index ff44b8f..470a1c4 100644 --- a/client/src/components/chart/index.tsx +++ b/client/src/components/chart/index.tsx @@ -64,9 +64,15 @@ const ChartJs = ({ widget, ...props }: ChartJsProps) => { }; return ( -
+
{!chartTypes.includes(chartType) || !data || !(data as ChartData).datasets ? null : ( - + )}
); diff --git a/client/src/components/map/layers/marker/index.tsx b/client/src/components/map/layers/marker/index.tsx index 0f84d10..778bc01 100644 --- a/client/src/components/map/layers/marker/index.tsx +++ b/client/src/components/map/layers/marker/index.tsx @@ -34,7 +34,7 @@ const Marker = ({ markers, handleClick, handleClose }: MarkerProps) => { >
{ - const videoRef = useRef(null); const mediaSrc = getImageSrc(media?.url); - useEffect(() => { - if (!isCurrentMedia && videoRef.current) { - videoRef.current?.pause(); - } else if (isCurrentMedia && videoRef.current) { - videoRef.current?.play(); - } - }, [isCurrentMedia]); - if (media?.type === 'video') { return (