From 1f5b6dd1564b19f180dc654f37e603867757b668 Mon Sep 17 00:00:00 2001 From: Loup Theron Date: Fri, 13 Oct 2023 09:12:15 +0200 Subject: [PATCH] Remove unnecessary undefined --- frontend/src/features/missions/MissionForm/ControlUnitsForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/missions/MissionForm/ControlUnitsForm.tsx b/frontend/src/features/missions/MissionForm/ControlUnitsForm.tsx index 490afdc80..af5264cf2 100644 --- a/frontend/src/features/missions/MissionForm/ControlUnitsForm.tsx +++ b/frontend/src/features/missions/MissionForm/ControlUnitsForm.tsx @@ -6,7 +6,7 @@ import { useGetEngagedControlUnitsQuery } from '../../../api/missionsAPI' import { controlUnitFactory } from '../Missions.helpers' export function ControlUnitsForm({ form, push, remove }) { - const { data: engagedControlUnitsData } = useGetEngagedControlUnitsQuery(undefined) + const { data: engagedControlUnitsData } = useGetEngagedControlUnitsQuery() const engagedControlUnits = useMemo(() => { if (!engagedControlUnitsData) {