Disable search keyboard shortcuts when main header isn't shown

This commit is contained in:
Evan Hahn 2021-02-12 15:58:14 -06:00 committed by Josh Perez
parent 011bdd2ae3
commit eb203ba929
10 changed files with 166 additions and 70 deletions

View file

@ -29,7 +29,7 @@ import {
GetConversationByIdType,
getConversationLookup,
getConversationSelector,
getSelectedConversation,
getSelectedConversationId,
} from './conversations';
export const getSearch = (state: StateType): SearchStateType => state.search;
@ -78,7 +78,7 @@ export const getSearchResults = createSelector(
getRegionCode,
getUserAgent,
getConversationLookup,
getSelectedConversation,
getSelectedConversationId,
getSelectedMessage,
],
(