Skip to content

Commit

Permalink
Fix: console error
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiansmn committed Sep 19, 2023
1 parent 9f460d8 commit 0408cb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/MapWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ async function addMarker(customEvent: L.LeafletMouseEvent) {
try {
const latLng = customEvent.latlng;
if (!latLng) return;
// Attendre que latLng.lat et latLng.lng soient disponibles
await Promise.resolve();
Expand Down

0 comments on commit 0408cb0

Please sign in to comment.