Address alpha feedback
This commit is contained in:
parent
191f5860a8
commit
90c2a97aa7
9 changed files with 78 additions and 42 deletions
|
@ -53,9 +53,9 @@ export const getSearchConversationName = createSelector(
|
|||
export const isSearching = createSelector(
|
||||
getSearch,
|
||||
(state: SearchStateType) => {
|
||||
const { query, searchConversationId } = state;
|
||||
const { query } = state;
|
||||
|
||||
return (query && query.trim().length > 1) || searchConversationId;
|
||||
return query && query.trim().length > 1;
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -71,7 +71,7 @@ export const getSearchResults = createSelector(
|
|||
regionCode: string,
|
||||
lookup: ConversationLookupType,
|
||||
selectedConversation?: string
|
||||
): SearchResultsPropsType => {
|
||||
): SearchResultsPropsType | undefined => {
|
||||
const {
|
||||
contacts,
|
||||
conversations,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue