Skip to content

Commit

Permalink
chore: ♻️ improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Mar 7, 2024
1 parent e6d1f9f commit 172a1dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/contacts-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ const initialState = {
<div>
${
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('')
: ''
}
${
Expand Down

0 comments on commit 172a1dd

Please sign in to comment.