Skip to content

Commit

Permalink
fix: arr 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lurgi committed Aug 9, 2024
1 parent 21719a2 commit 59be147
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 59be147

Please sign in to comment.