Skip to content

Commit c7102b3

Browse files
committed
Formatting
1 parent 1945d50 commit c7102b3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/compiler/compile/Component.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,15 +1138,15 @@ export default class Component {
11381138
}
11391139
}
11401140

1141-
if (inserts.length > 0) {
1142-
parent[key].splice(index + 1, 0, ...inserts);
1143-
}
1144-
if (props.length > 0) {
1145-
parent[key].splice(index + 1, 0, b`let { ${props} } = $$props;`);
1146-
}
1147-
if (node.declarations.length == 0) {
1148-
parent[key].splice(index, 1);
1149-
}
1141+
if (inserts.length > 0) {
1142+
parent[key].splice(index + 1, 0, ...inserts);
1143+
}
1144+
if (props.length > 0) {
1145+
parent[key].splice(index + 1, 0, b`let { ${props} } = $$props;`);
1146+
}
1147+
if (node.declarations.length == 0) {
1148+
parent[key].splice(index, 1);
1149+
}
11501150

11511151
return this.skip();
11521152
}

0 commit comments

Comments
 (0)