class ConfigDashboard extends React.Component {
constructor(props) {
super(props);
- this.Store = this.props.flux.stores.hasOwnProperty('ConfigStore') ? this.props.flux.stores.ConfigStore : this.props.flux.createStore(ConfigStore);
+ this.Store = this.props.flux.stores.hasOwnProperty('ConfigStore') ? this.props.flux.stores.ConfigStore : this.props.flux.createStore(ConfigStore, "ConfigStore");
this.state = this.Store.getState();
}
componentWillMount() {
}
</div>
<div className="form-actions">
- <Button className="light" label="Cancel" />
<Button key="4" role="button" className="update dark" label="Update" onClick={this.updateAccount} />
</div>
</form>