diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx index 12f00da0b..f4c9ce6ec 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx @@ -97,10 +97,8 @@ export default function Map({ function handleClose() { if (fromCountryPage) { - const url = new URL(window.location.href) - url.searchParams.set("view", "map") - router.push(url.toString()) setActiveLocation(null) + router.back() } else { backToListView() }