Skip to content

Commit

Permalink
small fix for if-else code style
Browse files Browse the repository at this point in the history
  • Loading branch information
stalkerg committed Oct 19, 2018
1 parent 0d797ea commit 21ea87c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/compile/render-dom/wrappers/Fragment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export default class FragmentWrapper {
this.nodes.unshift(wrapper);

link(lastChild, lastChild = wrapper);
}

else {
} else {
const Wrapper = wrappers[child.type];
if (!Wrapper) continue;

Expand Down

0 comments on commit 21ea87c

Please sign in to comment.