1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 19:35:31 -04:00

refactor font preloading

This commit is contained in:
2022-07-18 17:27:49 -04:00
parent de604f2f04
commit a788f673e9
8 changed files with 59 additions and 87 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ const Menu = ({ ...rest }: MenuProps) => {
const isCurrent = item.href === `/${router.pathname.split("/")[1]}`;
return (
<Item key={index}>
<Item key={item.text || index}>
<MenuItem {...item} current={isCurrent} />
</Item>
);