Skip to content

Commit ae63c56

Browse files
committed
change to calling bootstrap action for initialize data
1 parent f7c8b7e commit ae63c56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src-react/containers/path.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import React, { Component } from 'react';
22
import { bindActionCreators } from 'redux';
33
import { connect } from 'react-redux'
44

5-
import * as ungitConfigActionCreators from 'actions/ungit-config';
5+
import * as bootstrapActionCreators from 'actions/bootstrap';
66
import 'styles/styles.scss';
77

88
@connect(state => {
99
return { ...state };
1010
}, dispatch => {
1111
return {
12-
actions: bindActionCreators(Object.assign({}, ungitConfigActionCreators), dispatch)
12+
actions: bindActionCreators(Object.assign({}, bootstrapActionCreators), dispatch)
1313
};
1414
})
1515
class Path extends Component {
1616

1717
componentWillMount() {
1818
const { actions } = this.props;
19-
actions.fetchUngitConfig();
19+
actions.bootstrap();
2020
}
2121

2222
render() {

0 commit comments

Comments
 (0)