diff --git a/frontend/src/components/Map/index.tsx b/frontend/src/components/Map/index.tsx index 8dfd624e..de977699 100644 --- a/frontend/src/components/Map/index.tsx +++ b/frontend/src/components/Map/index.tsx @@ -97,7 +97,7 @@ const Map = ({ const getOrderMarkers = () => { return orders.map((order) => { if (!order.latitude || !order.longitude) return <>; - return RobotMarker('marker', [order.latitude, order.longitude], orderType || 0, order); + return RobotMarker(order.id, [order.latitude, order.longitude], order.type || 0, order); }); };