diff --git a/frontend/src/hooks/useDashboardCreateForm/index.tsx b/frontend/src/hooks/useDashboardCreateForm/index.tsx index 9bd0c653c..b444749d6 100644 --- a/frontend/src/hooks/useDashboardCreateForm/index.tsx +++ b/frontend/src/hooks/useDashboardCreateForm/index.tsx @@ -62,7 +62,11 @@ export default function useDashboardCreateForm(): UseDashboardCreateFormReturn { clubId, dashboardFormInfo: { ...recruitmentInfoState, - questions: applyState, + questions: applyState.map(({ id, ...value }) => { + const temp = { ...value }; + temp.choices = value.choices.map((choice, index) => ({ ...choice, orderIndex: index })); + return { ...temp, orderIndex: id }; + }), }, }), onSuccess: async (data) => {