Skip to content

Commit

Permalink
chore: remove duplicate condition in if statement (#9023)
Browse files Browse the repository at this point in the history
  • Loading branch information
teobgeno authored Jul 26, 2023
1 parent 959825c commit 01cbb66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/svelte/src/compiler/compile/nodes/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ export default class Element extends Node {
this.name === 'option' ||
this.is_dynamic_element ||
this.tag_expr.dynamic_dependencies().length ||
this.is_dynamic_element ||
component.compile_options.dev
) {
this.parent.cannot_use_innerhtml(); // need to use add_location
Expand Down

0 comments on commit 01cbb66

Please sign in to comment.