fixed es warnings

This commit is contained in:
Roland Osborne 2022-09-02 11:45:24 -07:00
parent 8330ad32e1
commit e550cf4d2b
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ export function Cards({ closeCards, openContact, openListing }) {
<CardItem item={item} open={openContact} />
)} />
)}
{ state.cards.length == 0 && (
{ state.cards.length === 0 && (
<div class="empty">No Contacts</div>
)}
</div>

View File

@ -54,7 +54,7 @@ export function Channels({ open, active }) {
)}
/>
)}
{ state.channels.length == 0 && (
{ state.channels.length === 0 && (
<div class="empty">No Topics</div>
)}
</div>

View File

@ -48,7 +48,7 @@ export function Listing({ closeListing, openContact }) {
<ListingItem item={item} node={state.node} open={openContact} />
)} />
)}
{ state.contacts.length == 0 && (
{ state.contacts.length === 0 && (
<div class="empty">No Contacts</div>
)}
</div>