Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat authored and Reckless-Satoshi committed Oct 16, 2023
1 parent 308f46b commit 2657820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
};

Expand Down

0 comments on commit 2657820

Please sign in to comment.