Refactoring
This commit is contained in:
@ -51,7 +51,7 @@ var TreeNode = React.createClass({
|
||||
var ProfileTree = React.createClass({
|
||||
|
||||
componentDidMount: function() {
|
||||
this.props.dispatch(actions.launcher.loadProfile('./default-profile.json'));
|
||||
this.props.dispatch(actions.common.loadProfile('./default-profile.json'));
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
@ -21,7 +21,7 @@ var LauncherView = React.createClass({
|
||||
|
||||
componentDidMount: function() {
|
||||
var profilePath = this.props.processOpts.profile || DEFAULT_PROFILE;
|
||||
this.props.dispatch(actions.launcher.loadProfile(profilePath));
|
||||
this.props.dispatch(actions.common.loadProfile(profilePath));
|
||||
},
|
||||
|
||||
componentWillReceiveProps: function(nextProps) {
|
||||
|
Reference in New Issue
Block a user