fix(sections): dynamic sections vanish when adding category (#5046)
This commit is contained in:
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[],
|
||||
}));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user