mirror of
https://github.com/reactos/developer-web-interface.git
synced 2024-11-23 03:49:43 +00:00
order of build & commit load
This commit is contained in:
parent
362403d3b2
commit
2a26373f4a
@ -8,8 +8,8 @@ import Loading from './Loading';
|
||||
|
||||
class Commits extends React.Component {
|
||||
componentDidMount() {
|
||||
this.props.loadCommits();
|
||||
this.props.loadBuilds();
|
||||
this.props.loadCommits();
|
||||
}
|
||||
renderCommits = commit => {
|
||||
return (
|
||||
@ -85,8 +85,8 @@ const mapStateToProps = ({ isLoading, commits, error, branch,page }) => ({
|
||||
});
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
loadCommits: next => dispatch(loadCommits(next)),
|
||||
loadBuilds: () => dispatch(loadBuilds())
|
||||
loadBuilds: () => dispatch(loadBuilds()),
|
||||
loadCommits: next => dispatch(loadCommits(next))
|
||||
});
|
||||
|
||||
export default connect(
|
||||
|
Loading…
Reference in New Issue
Block a user