Skip to content

Commit

Permalink
remove duplicated code (#1301
Browse files Browse the repository at this point in the history
Rich-Harris committed Apr 4, 2018
1 parent 4661fbb commit b4ade9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/generators/nodes/Component.ts
Original file line number Diff line number Diff line change
@@ -421,7 +421,6 @@ export default class Component extends Node {

if (updates.length) {
block.builders.update.addBlock(deindent`
var ${name_changes} = {};
${updates}
${name}._set(${name_changes});
${bindings.length && `${name_updating} = {};`}

0 comments on commit b4ade9d

Please sign in to comment.