1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

fix missing rr4 breaking change regarding params

This commit is contained in:
Sérgio Ramos 2017-02-23 15:57:33 +00:00
parent cdcae9c1d4
commit 3489a48cb7

View File

@ -26,11 +26,13 @@ const People = (props) => (
); );
const mapStateToProps = (state, { const mapStateToProps = (state, {
params = {} match = {
params: {}
}
}) => ({ }) => ({
people: peopleByProjectIdSelector(params.projectId)(state), people: peopleByProjectIdSelector(match.params.projectId)(state),
UI: projectUISelector(state), UI: projectUISelector(state),
parentIndex: projectIndexByIdSelect(params.projectId)(state), parentIndex: projectIndexByIdSelect(match.params.projectId)(state),
platformMembers: membersSelector(state) platformMembers: membersSelector(state)
}); });