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
|
Boolean
|
||||||
);
|
);
|
||||||
|
|
||||||
export const getGlobalSearchValue = createSelector(
|
|
||||||
getSearch,
|
|
||||||
(state: SearchStateType): boolean | undefined => state.globalSearch
|
|
||||||
);
|
|
||||||
|
|
||||||
export const getIsSearchingGlobally = createSelector(
|
export const getIsSearchingGlobally = createSelector(
|
||||||
getGlobalSearchValue,
|
getSearch,
|
||||||
Boolean
|
(state: SearchStateType): boolean => Boolean(state.globalSearch)
|
||||||
);
|
);
|
||||||
|
|
||||||
export const getIsSearching = createSelector(
|
export const getIsSearching = createSelector(
|
||||||
|
|
Loading…
Add table
Reference in a new issue