From 550499efacf306febea037f6a338fe7bd35625b5 Mon Sep 17 00:00:00 2001 From: mohamed yahia Date: Tue, 14 Jan 2025 18:22:42 +0200 Subject: [PATCH] Delete null assertion --- packages/core/src/dom_components/model/SymbolUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/dom_components/model/SymbolUtils.ts b/packages/core/src/dom_components/model/SymbolUtils.ts index 60708c56c..e57abd5f2 100644 --- a/packages/core/src/dom_components/model/SymbolUtils.ts +++ b/packages/core/src/dom_components/model/SymbolUtils.ts @@ -131,8 +131,8 @@ export const logSymbol = (symb: Component, type: string, toUp: Component[], opts }; export const updateSymbolProps = (symbol: Component, opts: SymbolToUpOptions = {}): void => { - const changed = symbol.componentDVListener.getPropsDefsOrValues({ ...symbol.changedAttributes() } || {}); - const attrs = symbol.componentDVListener.getAttributesDefsOrValues({ ...changed.attributes } || {}); + const changed = symbol.componentDVListener.getPropsDefsOrValues({ ...symbol.changedAttributes() }); + const attrs = symbol.componentDVListener.getAttributesDefsOrValues({ ...changed.attributes }); cleanChangedProperties(changed, attrs);