Added accountStore id to prevent conflicts during gzip
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 16 May 2017 14:39:59 +0000 (10:39 -0400)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 16 May 2017 14:39:59 +0000 (10:39 -0400)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/accounts/src/account/accountsDashboard.jsx

index f139b47..7b56011 100644 (file)
@@ -26,7 +26,7 @@ import 'style/layout.scss';
 class AccountsDashboard extends React.Component {
     constructor(props) {
         super(props);
-        this.Store = this.props.flux.stores.hasOwnProperty('AccountStore') ? this.props.flux.stores.AccountStore : this.props.flux.createStore(AccountStore);
+        this.Store = this.props.flux.stores.hasOwnProperty('AccountStore') ? this.props.flux.stores.AccountStore : this.props.flux.createStore(AccountStore, "AccountStore");
         this.state = this.Store.getState();
     }
     componentWillMount() {