diff --git a/frontend/src/components/Markers.tsx b/frontend/src/components/Markers.tsx
index 2f76dda..22eb236 100644
--- a/frontend/src/components/Markers.tsx
+++ b/frontend/src/components/Markers.tsx
@@ -4,6 +4,7 @@ import { Marker, useMap, useMapEvent } from 'react-leaflet';
import { useEffect, useState } from 'react';
import { WaypointRecord } from 'interfaces/waypointRecord.interface';
import location from '../img/location.png';
+import React from 'react';
interface ExtendedWaypointRecord extends WaypointRecord {
drawn: boolean;
@@ -91,7 +92,7 @@ function Markers({ conditions }: { conditions: WaypointRecord[] }) {
const { latitude, longitude } = waypoint;
if (condition.drawn) {
return (
- <>
+
handleMarkerClick(waypoint.name) }} zIndexOffset={condition.zIndex} />
handleMarkerClick(waypoint.name) }} zIndexOffset={condition.zIndex} />
handleMarkerClick(waypoint.name) }}
zIndexOffset={condition.zIndex}
/>
- >
+
);
}
return (
- <>
+
handleMarkerClick(waypoint.name) }} />;
handleMarkerClick(waypoint.name) }} />{' '}
- >
+
);
})}
>