Upgrade Prettier to 2.4.1

This commit is contained in:
Evan Hahn 2021-11-11 16:43:05 -06:00 committed by GitHub
parent f204784afe
commit 5619eeca83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
176 changed files with 1961 additions and 2465 deletions

View file

@ -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> = [];