diff --git a/components/Map.jsx b/components/Map.jsx index ecc9fc2..622f466 100644 --- a/components/Map.jsx +++ b/components/Map.jsx @@ -2,20 +2,7 @@ import "../styles/Map.module.scss"; function Map({ width = "100%", height = "100%", showAddressText }) { return ( -
window.innerWidth ?? "100%", - height: height > window.innerHeight ?? "100%", - } - : { - width: "100%", - height: "100%", - } - } - > +
{showAddressText ? (