Skip to content

Commit

Permalink
fix: issue where all paths were active on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Sep 29, 2023
1 parent 59f82f1 commit 03afc85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/layout/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import {
NavigationMenu,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList, navigationMenuTriggerStyle
NavigationMenuList
} from "@/components/ui/navigation-menu";
import Link from "next/link";
import {LucideMenu as MenuIcon, X as CloseIcon} from "lucide-react";
import {MouseEventHandler, ReactNode, useState} from "react";
import {cn} from "@/lib/utils";
import {Separator} from "@/components/ui/separator";
import UserButton from "@/components/user/user-button";
import {usePathname} from "next/navigation";

type MenuItemProps = {
Expand Down

0 comments on commit 03afc85

Please sign in to comment.