Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalikKarpuk committed Feb 13, 2024
1 parent 4ce982f commit e6b3d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/components/organisms/navigation/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Logo } from "../../atoms/logo";
import { navList } from "./constants";

import style from "./index.module.css";
import Image from "next/image";
import classNames from "classnames";
import { useRouter } from "next/router";
import AccountIcon from "../../atoms/iconComponents/account";

const Navigation = () => {
const { pathname } = useRouter();
Expand All @@ -23,7 +23,7 @@ const Navigation = () => {
[style.active]: pathname.includes(url),
})}
>
<Image src={icon} alt="" />
<AccountIcon isActive={pathname.includes(url)}/>
{title}
</Link>
);
Expand Down

0 comments on commit e6b3d94

Please sign in to comment.