Calling selectors are now based on the root state
This commit is contained in:
parent
d1866a0e5d
commit
be99bbe87a
4 changed files with 47 additions and 19 deletions
|
@ -124,7 +124,7 @@ const mapStateToActiveCallProp = (state: StateType) => {
|
|||
};
|
||||
|
||||
const mapStateToIncomingCallProp = (state: StateType) => {
|
||||
const call = getIncomingCall(state.calling);
|
||||
const call = getIncomingCall(state);
|
||||
if (!call) {
|
||||
return undefined;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue