mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 17:08:57 +01:00
Remove getGlobalSearchValue helper function
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user