Skip to content

Commit

Permalink
fix: profile new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Petkovski committed Nov 13, 2023
1 parent 54297c7 commit 78486c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/home/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Sidebar({ isMobile }: { isMobile: boolean }): JSX.Elemen
)}
<ul className="flex flex-col gap-y-[25px]">
{sidebarItems.map(({ url, label, Icon }, i) => (
<Link key={url + i} href={url} target="_blank" rel="noopener noreferrer">
<Link key={url + i} href={url} target={label !== "Profile" ? "_blank" : ""} rel="noopener noreferrer">
<li
className={`${
router.pathname === url && 'rounded-lg bg-primary font-medium text-white'
Expand Down

0 comments on commit 78486c8

Please sign in to comment.