Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2016-04-18 01:11:25 +02:00
parent 8b6236446f
commit 493f49a508
4 changed files with 49 additions and 42 deletions

View file

@ -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,