Remove getGlobalSearchValue helper function
This commit is contained in:
parent
0100866d0a
commit
15b520d6d1
1 changed files with 2 additions and 7 deletions
|
@ -54,14 +54,9 @@ export const getIsSearchingInAConversation = createSelector(
|
|||
Boolean
|
||||
);
|
||||
|
||||
export const getGlobalSearchValue = createSelector(
|
||||
getSearch,
|
||||
(state: SearchStateType): boolean | undefined => state.globalSearch
|
||||
);
|
||||
|
||||
export const getIsSearchingGlobally = createSelector(
|
||||
getGlobalSearchValue,
|
||||
Boolean
|
||||
getSearch,
|
||||
(state: SearchStateType): boolean => Boolean(state.globalSearch)
|
||||
);
|
||||
|
||||
export const getIsSearching = createSelector(
|
||||
|
|
Loading…
Reference in a new issue