Fix lint
This commit is contained in:
parent
5fc17bc85d
commit
f0a6eee8fe
|
@ -109,7 +109,7 @@ function NavBarItem(props: { item: Item; currentPage: string }) {
|
|||
)}
|
||||
onClick={trackCallback('navbar: ' + item.name)}
|
||||
>
|
||||
<item.icon className="my-1 mx-auto h-6 w-6" />
|
||||
{item.icon && <item.icon className="my-1 mx-auto h-6 w-6" />}
|
||||
{item.name}
|
||||
</a>
|
||||
</Link>
|
||||
|
|
|
@ -6,7 +6,6 @@ import {
|
|||
CashIcon,
|
||||
HeartIcon,
|
||||
UserGroupIcon,
|
||||
ChevronDownIcon,
|
||||
TrendingUpIcon,
|
||||
ChatIcon,
|
||||
} from '@heroicons/react/outline'
|
||||
|
|
Loading…
Reference in New Issue
Block a user