diff --git a/apps/sn/app/(map-layout)/layout.tsx b/apps/sn/app/(map-layout)/layout.tsx index e7ab407c3..2077e5756 100644 --- a/apps/sn/app/(map-layout)/layout.tsx +++ b/apps/sn/app/(map-layout)/layout.tsx @@ -3,7 +3,7 @@ import React, { useEffect } from 'react'; import { usePathname, useRouter } from "next/navigation"; import { useQueryClient } from "@tanstack/react-query"; -import { BaseLayout } from "@common/components"; +import { NoFooterLayout } from "@common/components"; import type { MenuItem } from "@/entities/menu"; import { useMenuStore } from "@/shared/lib"; import useStore from '../store/useStore'; @@ -33,12 +33,12 @@ export default function MapLayout({ }; return ( - {children} - + ); } diff --git a/packages/common/business_components/src/ui/map/Gis.js b/packages/common/business_components/src/ui/map/Gis.js index 5a134af6a..0f69e5f91 100644 --- a/packages/common/business_components/src/ui/map/Gis.js +++ b/packages/common/business_components/src/ui/map/Gis.js @@ -122,8 +122,7 @@ function Gis({ targetLayerTypes = [], orderedLayers = [], checkInterval = 3000, - height: height = "h-[calc(100vh-10rem)]", - onOpenPopup = () => {}, + height: height = "h-[calc(100vh-5rem)]", }) { const mapRef = useRef(); const [mapObject, setMapObject] = useState({});