fix(sections): dynamic sections vanish when adding category (#5046)

This commit is contained in:
Meier Lukas authored and GitHub committed 2026-02-13 08:05:15 +01:00
1 parent 175d7d6324
commit 60fcb71bd2
1 file changed
+1
@@ -58,6 +58,7 @@ export const useCategoryActions = () => {
...section,
yOffset: section.yOffset + 2,
})),
...previous.sections.filter((section) => section.kind !== "category" && section.kind !== "empty"),
] satisfies Section[],
}));
},