From ea1a717ad0cc1bed20d416fba1415a28fd1e0da6 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 7 Feb 2025 15:20:03 -0800 Subject: [PATCH] fix height --- .../Details/Components/DistributedUptimeMap/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Client/src/Pages/DistributedUptime/Details/Components/DistributedUptimeMap/index.jsx b/Client/src/Pages/DistributedUptime/Details/Components/DistributedUptimeMap/index.jsx index 99e591750..f4e6a2b19 100644 --- a/Client/src/Pages/DistributedUptime/Details/Components/DistributedUptimeMap/index.jsx +++ b/Client/src/Pages/DistributedUptime/Details/Components/DistributedUptimeMap/index.jsx @@ -6,7 +6,7 @@ import maplibregl from "maplibre-gl"; import { useSelector } from "react-redux"; import buildStyle from "./buildStyle"; -const DistributedUptimeMap = ({ width = "100%", height = "100%", checks }) => { +const DistributedUptimeMap = ({ width = "100%", checks }) => { const mapContainer = useRef(null); const map = useRef(null); const theme = useTheme(); @@ -87,7 +87,6 @@ const DistributedUptimeMap = ({ width = "100%", height = "100%", checks }) => { ref={mapContainer} style={{ width: width, - height: height, }} /> );