Skip to content

Commit

Permalink
fix duplicated line - closes #1301
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Apr 2, 2018
1 parent f493dcc commit a32ceec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/generators/nodes/Component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ export default class Component extends Node {
`);
});

componentInitProperties.push(`data: ${name_initial_data}`);

const initialisers = [
'state = #component.get()',
hasLocalBindings && 'newState = {}',
Expand Down

0 comments on commit a32ceec

Please sign in to comment.