Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
k70suK3-k06a7ash1 committed Feb 24, 2025
1 parent bef8185 commit ba4a904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/drag-and-drop/lib/reSortArrayElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export const reSortArrayElements = (
stringArray.splice(hoveredIndex, 0, element);

const reNumberingList: ContentType[] = stringArray.map((content, index) => ({
id: index,
id: String(index),
content,
level: "h1",
}));
return reNumberingList;
};

0 comments on commit ba4a904

Please sign in to comment.