Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Commit

Permalink
Fix issue with overcounting plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaine Schmeisser committed Jan 4, 2017
1 parent a07ec09 commit c70c848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/containers/pluginWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const PluginWrapper = React.createClass({
return new Plugin(plugin)
}
})
this.setState({ plugins })
this.setState({ plugins, loaded: 0 })
return Promise.all(plugins.map((pluginObj) => {
return pluginObj.load().then(() => {
this.setState({
Expand Down

0 comments on commit c70c848

Please sign in to comment.