Skip to content

Commit 758ee31

Browse files
committed
changed trip mapbox token
1 parent 92d2195 commit 758ee31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pages/dev/test-site/trip/+Page.client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { BlankImage, createCheckins } from "../index";
77
import "../main.styl";
88
import "./main.styl";
99
import "@macrostrat/style-system";
10+
import { SETTINGS } from "@macrostrat-web/settings";
11+
1012

1113
export function Page() {
1214
const pageContext = usePageContext();
@@ -68,7 +70,7 @@ export function Page() {
6870

6971
try {
7072
// Initialize Mapbox map
71-
mapboxgl.accessToken = import.meta.env.VITE_MAPBOX_API_TOKEN;
73+
mapboxgl.accessToken = SETTINGS.mapboxAccessToken;
7274

7375
mapRef.current = new mapboxgl.Map({
7476
container: mapContainerRef.current,

0 commit comments

Comments
 (0)