From 3f1149f5d324be3dec4bcad668deecca8269cf4c Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 28 Jan 2025 02:33:56 +0000 Subject: [PATCH] Refactoring Co-authored-by: bmartel --- web/libs/editor/src/stores/Annotation/Annotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/libs/editor/src/stores/Annotation/Annotation.js b/web/libs/editor/src/stores/Annotation/Annotation.js index 5ab7ba46ad8d..48112a81a07f 100644 --- a/web/libs/editor/src/stores/Annotation/Annotation.js +++ b/web/libs/editor/src/stores/Annotation/Annotation.js @@ -665,7 +665,7 @@ const _Annotation = types } }, updateAppearenceFromState() { - self.areas.forEach((area) => area.updateAppearenceFromState && area.updateAppearenceFromState()); + self.areas.forEach((area) => area.updateAppearenceFromState?.()); }, setInitialValues() {