From 172a1dd3f394e65034b986c2623adb3619855ab9 Mon Sep 17 00:00:00 2001 From: jojobyte <184880+jojobyte@users.noreply.github.com> Date: Thu, 7 Mar 2024 10:29:54 -0700 Subject: [PATCH] chore: :recycle: improve readability --- src/components/contacts-list.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/contacts-list.js b/src/components/contacts-list.js index 01487aa..6760b87 100644 --- a/src/components/contacts-list.js +++ b/src/components/contacts-list.js @@ -44,7 +44,11 @@ const initialState = {
${ state.contacts.length > 0 - ? (await Promise.all(state.contacts.map(async c => await state.item(c)))).join('') + ? ( + await Promise.all( + state.contacts.map(async c => await state.item(c)) + ) + ).join('') : '' } ${