From 6ca2fb6e076a68b9a5990b55aa1393630f09e60e Mon Sep 17 00:00:00 2001 From: CloudLun Date: Fri, 1 Mar 2024 12:06:04 -0500 Subject: [PATCH] add the use client on the website --- utils/markerCreator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/markerCreator.ts b/utils/markerCreator.ts index 26ad725..93c3ad4 100644 --- a/utils/markerCreator.ts +++ b/utils/markerCreator.ts @@ -1,3 +1,4 @@ +"use client" import mapboxgl, { MapMouseEvent } from "mapbox-gl"; import directionSVG from "../public/icons/direction.svg";