Skip to content

Commit

Permalink
Merge pull request #1302 from sveltejs/gh-1301
Browse files Browse the repository at this point in the history
fix duplicated line
  • Loading branch information
Rich-Harris authored Apr 3, 2018
2 parents f493dcc + a32ceec commit db21e80
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 db21e80

Please sign in to comment.