Update Contacts.js

This commit is contained in:
Victor Zhou 2019-07-22 16:08:17 -04:00 committed by GitHub
parent 3b6b3649d2
commit 368217d428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ type Props = {
const Contacts = ({ contacts }: Props) => (
<div className={styles['contacts']}>
<ul className={styles['contacts__list']}>
{Object.keys(contacts).map((name) => !contacts[name] ? null : (
{Object.keys(contacts).map((name) => (!contacts[name] ? null : (
<li className={styles['contacts__list-item']} key={name}>
<a
className={styles['contacts__list-item-link']}
@ -24,7 +24,7 @@ const Contacts = ({ contacts }: Props) => (
<Icon icon={getIcon(name)} />
</a>
</li>
))}
)))}
</ul>
</div>
);