Update src/compiler/compile/render_dom/wrappers/Element/index.ts

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/8161/head
Tan Li Hau 4 years ago committed by tanhauhau
parent f1b4d18e6f
commit 4c08168eb8

@ -911,7 +911,6 @@ export default class ElementWrapper extends Wrapper {
if (this.attributes.length === 0) return; if (this.attributes.length === 0) return;
if (this.has_dynamic_attribute) { if (this.has_dynamic_attribute) {
// has dynamic attribute
this.add_spread_attributes(block); this.add_spread_attributes(block);
return; return;
} }

Loading…
Cancel
Save