mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
fix missing rr4 breaking change regarding params
This commit is contained in:
parent
cdcae9c1d4
commit
3489a48cb7
@ -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)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user