use destructuring
This commit is contained in:
@@ -92,9 +92,8 @@ function ResizeControl({
|
||||
|
||||
childChanges.forEach((childChange) => {
|
||||
const positionChange: NodePositionChange = {
|
||||
id: childChange.id,
|
||||
...childChange,
|
||||
type: 'position',
|
||||
position: childChange.position,
|
||||
};
|
||||
|
||||
changes.push(positionChange);
|
||||
|
||||
Reference in New Issue
Block a user