mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-11-13 10:06:12 -05:00
refactor font preloading
This commit is contained in:
8 files changed
+59
-87
No files matched your search
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user