Browse Source

Delete null assertion

pull/6359/head
mohamed yahia 1 year ago
parent
commit
550499efac
  1. 4
      packages/core/src/dom_components/model/SymbolUtils.ts

4
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);

Loading…
Cancel
Save