feat(SW-1111) Added Suspense on map

This commit is contained in:
Pontus Dreij
2024-12-09 11:05:44 +01:00
parent c610b4f532
commit b14a1a7097
9 changed files with 190 additions and 60 deletions

View File

@@ -1,4 +1,5 @@
"use client"
import { APIProvider } from "@vis.gl/react-google-maps"
import { useSearchParams } from "next/navigation"
import { useEffect, useMemo, useRef, useState } from "react"
@@ -95,6 +96,8 @@ export default function SelectHotelMap({
[activeFilters, hotelPins]
)
console.log("hotelPins", hotelPins)
const closeButton = (
<Button
intent="inverted"