[openspending, maps][m]: fix build for leaflet map

This commit is contained in:
João Demenech
2023-07-06 17:13:37 -03:00
parent 5e72711629
commit 299477a717
11 changed files with 51 additions and 44 deletions

View File

@@ -1,19 +1,10 @@
<!--
This is necessary for maps to work.
If we decide to distribute this component,
perhaps we could use a provider for this,
e.g.
.../_app.tsx
<PortalJSProvider>
<Component />
</PortalJSProvider>
This is necessary for Leaflet maps to work.
-->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<!-- <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""></script> -->
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""
/>