Skip to content

Commit

Permalink
Add runtime constant for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
minagishl committed Jan 27, 2024
1 parent cd54d21 commit f503635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/[[...map]]/page.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit f503635

Please sign in to comment.