From f50363549792352deddd8c08277af46c0545f2ce Mon Sep 17 00:00:00 2001 From: minagishl Date: Sat, 27 Jan 2024 17:31:20 +0900 Subject: [PATCH] Add runtime constant for edge --- src/app/[[...map]]/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/[[...map]]/page.tsx b/src/app/[[...map]]/page.tsx index d21ad98..84c81be 100644 --- a/src/app/[[...map]]/page.tsx +++ b/src/app/[[...map]]/page.tsx @@ -1,5 +1,7 @@ 'use client'; +export const runtime = 'edge'; + import { useSearchParams, useRouter } from 'next/navigation'; import { Map, GeolocateControl, NavigationControl, LngLatBounds } from 'react-map-gl/maplibre'; import 'maplibre-gl/dist/maplibre-gl.css';