This commit is contained in:
Austin Chen 2022-06-29 12:14:33 -05:00
parent 5fc17bc85d
commit f0a6eee8fe
2 changed files with 1 additions and 2 deletions

View File

@ -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>

View File

@ -6,7 +6,6 @@ import {
CashIcon,
HeartIcon,
UserGroupIcon,
ChevronDownIcon,
TrendingUpIcon,
ChatIcon,
} from '@heroicons/react/outline'