Remove additionalProps from the edtiable effect's dependencies

This commit is contained in:
Or Fleisher 2021-10-13 14:22:06 -04:00 committed by Aria
parent 2794e0df26
commit 9c7a491ca9

View file

@ -85,7 +85,7 @@ const editable = <
useEditorStore
.getState()
.setSheetObject(uniqueName, sheetObject as $FixMe)
}, [sheet, uniqueName, additionalProps])
}, [sheet, uniqueName])
const transformDeps: string[] = []