Remove getGlobalSearchValue helper function

This commit is contained in:
veekas ashoka 2023-02-22 15:40:35 -05:00
parent 0100866d0a
commit 15b520d6d1

View file

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