mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-15 21:34:26 -04:00
refactor component/page function returns
This commit is contained in:
@@ -71,9 +71,9 @@ const MenuItem = ({ icon: ItemIcon, href, text, current, className }: MenuItemPr
|
||||
{linkContent}
|
||||
</Link>
|
||||
);
|
||||
} else {
|
||||
return linkContent;
|
||||
}
|
||||
|
||||
return <>{linkContent}</>;
|
||||
};
|
||||
|
||||
export default MenuItem;
|
||||
|
||||
Reference in New Issue
Block a user