Update client dependencies
This commit is contained in:
parent
8b6236446f
commit
493f49a508
4 changed files with 49 additions and 42 deletions
|
@ -126,8 +126,13 @@ const serverSelector = state => state.servers;
|
|||
const channelSelector = state => state.channels;
|
||||
const searchSelector = state => state.search;
|
||||
const showUserListSelector = state => state.ui.showUserList;
|
||||
const historySelector = state =>
|
||||
state.input.index === -1 ? null : state.input.history.get(state.input.index);
|
||||
const historySelector = state => {
|
||||
if (state.input.index === -1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return state.input.history.get(state.input.index);
|
||||
};
|
||||
|
||||
const selectedMessagesSelector = createSelector(
|
||||
tabSelector,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue