use destructuring

This commit is contained in:
peterkogo
2024-01-23 12:37:38 +01:00
parent abc6fea20b
commit 1bd71af135
@@ -92,9 +92,8 @@ function ResizeControl({
childChanges.forEach((childChange) => {
const positionChange: NodePositionChange = {
id: childChange.id,
...childChange,
type: 'position',
position: childChange.position,
};
changes.push(positionChange);