From 6bc2f928b28d588e5893e14fb74e42f16f292129 Mon Sep 17 00:00:00 2001 From: Sujit Date: Sun, 22 Dec 2024 11:25:47 +0545 Subject: [PATCH] fix: update response for flight plan --- .../components/DroneOperatorTask/DescriptionSection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/DroneOperatorTask/DescriptionSection/index.tsx b/src/frontend/src/components/DroneOperatorTask/DescriptionSection/index.tsx index a0aff2a3..36c12a65 100644 --- a/src/frontend/src/components/DroneOperatorTask/DescriptionSection/index.tsx +++ b/src/frontend/src/components/DroneOperatorTask/DescriptionSection/index.tsx @@ -26,7 +26,7 @@ const DroneOperatorDescriptionBox = () => { taskId as string, { select: (data: any) => { - return data.data.features; + return data.data?.results.features; }, }, );