Skip to content

Commit

Permalink
refactor(member): 배열 생성 키워드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeong-Ag committed Aug 15, 2024
1 parent 1ec69e1 commit b789b8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ActivityPostEditor = ({ groupId, data }: ActivityPostEditorProps) => {
content: '',
});
const [editAssignment, setEditAssignment] = useState<boolean[]>(
new Array(data.length).fill(false),
Array.from({ length: data.length }, () => false),
);

const { activityGroupBoardMutate } = useActivityGroupBoardMutation();
Expand Down

0 comments on commit b789b8f

Please sign in to comment.