Skip to content

Commit

Permalink
fix-fe: 요청 배열 수정 (#380)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeongwoo Park <[email protected]>
  • Loading branch information
2 people authored and seongjinme committed Aug 23, 2024
1 parent b6b0bb7 commit 21ea01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useDashboardCreateForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function useDashboardCreateForm(): UseDashboardCreateFormReturn {
clubId,
dashboardFormInfo: {
...recruitmentInfoState,
questions: applyState.map(({ id, ...value }) => {
questions: applyState.slice(3).map(({ id, ...value }) => {
const temp = { ...value };
temp.choices = value.choices.map((choice, index) => ({ ...choice, orderIndex: index }));
return { ...temp, orderIndex: id };
Expand Down

0 comments on commit 21ea01d

Please sign in to comment.