From 533c78abf7fed8c9e3a9b35c5e2275450f3a918e Mon Sep 17 00:00:00 2001 From: RazvanBalota <118636956+RazvanBalota@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:27:54 +0200 Subject: [PATCH] fix:add rel stylesheet for mapgl (#22) --- src/components/Map.jsx | 12 +++++++++--- src/layouts/Layout.astro | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index bff972f..3d909f2 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { Map, Marker } from "react-map-gl"; const longitude = 23.55589332597593; @@ -24,9 +23,16 @@ export default function MyMap() { "TouchPanBlocker.Message": "Folosește 2 degete pentru a mări harta", }} > - + - + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index b1daaa9..447b8ab 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -51,6 +51,10 @@ const { title, paddingTop } = Astro.props; property="og:title" content={title} /> + {title}