diff --git a/src/frontend/src/components/DroneOperatorTask/MapSection/index.tsx b/src/frontend/src/components/DroneOperatorTask/MapSection/index.tsx index e8ccced3..f5c25ba3 100644 --- a/src/frontend/src/components/DroneOperatorTask/MapSection/index.tsx +++ b/src/frontend/src/components/DroneOperatorTask/MapSection/index.tsx @@ -88,6 +88,7 @@ const MapSection = ({ className }: { className?: string }) => { }, onError: (err: any) => { toast.error(err?.response?.data?.detail || err.message); + dispatch(setSelectedTakeOffPoint(null)); }, });