Skip to content

Commit 01cbb66

Browse files
authored
chore: remove duplicate condition in if statement (#9023)
1 parent 959825c commit 01cbb66

File tree

1 file changed

+0
-1
lines changed
  • packages/svelte/src/compiler/compile/nodes

1 file changed

+0
-1
lines changed

packages/svelte/src/compiler/compile/nodes/Element.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ export default class Element extends Node {
530530
this.name === 'option' ||
531531
this.is_dynamic_element ||
532532
this.tag_expr.dynamic_dependencies().length ||
533-
this.is_dynamic_element ||
534533
component.compile_options.dev
535534
) {
536535
this.parent.cannot_use_innerhtml(); // need to use add_location

0 commit comments

Comments
 (0)