From 9c7a491ca9f6e7f9d188d49fb650c7aabc44c5c3 Mon Sep 17 00:00:00 2001 From: Or Fleisher Date: Wed, 13 Oct 2021 14:22:06 -0400 Subject: [PATCH] Remove additionalProps from the edtiable effect's dependencies --- packages/r3f/src/components/editable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/r3f/src/components/editable.tsx b/packages/r3f/src/components/editable.tsx index 9072d6a..a25cb8d 100644 --- a/packages/r3f/src/components/editable.tsx +++ b/packages/r3f/src/components/editable.tsx @@ -85,7 +85,7 @@ const editable = < useEditorStore .getState() .setSheetObject(uniqueName, sheetObject as $FixMe) - }, [sheet, uniqueName, additionalProps]) + }, [sheet, uniqueName]) const transformDeps: string[] = []