Upgrade Prettier to 2.4.1
This commit is contained in:
parent
f204784afe
commit
5619eeca83
176 changed files with 1961 additions and 2465 deletions
|
@ -203,13 +203,11 @@ const doSearch = debounce(
|
|||
|
||||
if (!searchConversationId) {
|
||||
(async () => {
|
||||
const {
|
||||
conversationIds,
|
||||
contactIds,
|
||||
} = await queryConversationsAndContacts(query, {
|
||||
ourConversationId,
|
||||
noteToSelf,
|
||||
});
|
||||
const { conversationIds, contactIds } =
|
||||
await queryConversationsAndContacts(query, {
|
||||
ourConversationId,
|
||||
noteToSelf,
|
||||
});
|
||||
|
||||
dispatch({
|
||||
type: 'SEARCH_DISCUSSIONS_RESULTS_FULFILLED',
|
||||
|
@ -258,9 +256,8 @@ async function queryConversationsAndContacts(
|
|||
const { ourConversationId, noteToSelf } = options;
|
||||
const query = providedQuery.replace(/[+.()]*/g, '');
|
||||
|
||||
const searchResults: Array<DBConversationType> = await dataSearchConversations(
|
||||
query
|
||||
);
|
||||
const searchResults: Array<DBConversationType> =
|
||||
await dataSearchConversations(query);
|
||||
|
||||
// Split into two groups - active conversations and items just from address book
|
||||
let conversationIds: Array<string> = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue