Move map out to its own component

This commit is contained in:
Niclas Edenvin
2024-09-25 17:44:53 +02:00
parent d3c01237db
commit 1440b4dbae
3 changed files with 3 additions and 3 deletions

View File

@@ -6,9 +6,9 @@ import { useIntl } from "react-intl"
import useHotelPageStore from "@/stores/hotel-page"
import MapContent from "@/components/Maps/InteractiveMap"
import { useHandleKeyUp } from "@/hooks/useHandleKeyUp"
import MapContent from "./Map"
import Sidebar from "./Sidebar"
import styles from "./dynamicMap.module.css"

View File

@@ -18,11 +18,11 @@ import Button from "@/components/TempDesignSystem/Button"
import Body from "@/components/TempDesignSystem/Text/Body"
import Caption from "@/components/TempDesignSystem/Text/Caption"
import styles from "./map.module.css"
import styles from "./interactiveMap.module.css"
import type { MapContentProps } from "@/types/components/hotelPage/map/mapContent"
export default function MapContent({
export default function InteractiveMap({
coordinates,
pointsOfInterest,
activePoi,