From ea4ac8c1514000f7dad36ce205a3fbbe902f9a02 Mon Sep 17 00:00:00 2001 From: Philipp Opheys Date: Tue, 22 Oct 2024 22:14:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20switch=20map=20to=20CSR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tour/[city].tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/tour/[city].tsx b/pages/tour/[city].tsx index 051262a..2ff9ccb 100644 --- a/pages/tour/[city].tsx +++ b/pages/tour/[city].tsx @@ -4,8 +4,11 @@ import Head from 'next/head' import INGOLSTADT from '@/data/tour/ingolstadt.json' import NEUBURG from '@/data/tour/neuburg.json' import { GetStaticProps } from 'next' -import TourMap from '@/components/tour/tourMap' +import dynamic from 'next/dynamic' +const TourMap = dynamic(() => import('@/components/tour/tourMap'), { + ssr: false, +}) export interface TourData { title: string description_de?: string