From 98066f7978ccf4353fdea9020d5efd72e2283495 Mon Sep 17 00:00:00 2001 From: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:28:39 -0500 Subject: [PATCH] fix map embed --- src/shapes/EmbedShapeUtil.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shapes/EmbedShapeUtil.tsx b/src/shapes/EmbedShapeUtil.tsx index 90ce022..175e169 100644 --- a/src/shapes/EmbedShapeUtil.tsx +++ b/src/shapes/EmbedShapeUtil.tsx @@ -36,7 +36,7 @@ const transformUrl = (url: string): string => { if (origin && destination) { return `https://www.google.com/maps/embed/v1/directions?key=${ - import.meta.env.VITE_GOOGLE_MAPS_API_KEY + import.meta.env["VITE_GOOGLE_MAPS_API_KEY"] }&origin=${encodeURIComponent(origin)}&destination=${encodeURIComponent( destination, )}&mode=driving`