File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export function AppHeaderBreadcrumb() {
2121 }
2222
2323 return (
24- < Breadcrumb className = "ml-4 hidden md:flex" >
24+ < Breadcrumb className = "hidden md:flex" >
2525 < BreadcrumbList className = "flex-nowrap" >
2626 { breadcrumbs . map ( ( item , index ) => {
2727 const isLast = index === breadcrumbs . length - 1 ;
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Link } from "react-router";
33
44import { OrganizationSwitcher } from "@/components/organization-switcher" ;
55import { UserProfile } from "@/components/user-profile" ;
6- import { useOrgUrl } from "@/hooks/use-org-url" ;
76
87import { AppHeaderBreadcrumb } from "./app-header-breadcrumb" ;
98import { useAuth } from "./auth-context" ;
@@ -12,7 +11,6 @@ import { ThemeToggle } from "./theme-toggle";
1211
1312export function AppHeader ( ) {
1413 const { isAuthenticated } = useAuth ( ) ;
15- const { getOrgUrl } = useOrgUrl ( ) ;
1614
1715 const navLinkClasses =
1816 "px-2.5 py-1 text-sm rounded-md hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 transition-colors" ;
@@ -33,7 +31,7 @@ export function AppHeader() {
3331 { isAuthenticated ? (
3432 < >
3533 < NavLink
36- to = { getOrgUrl ( "dashboard" ) }
34+ to = { "/org" }
3735 className = { navLinkClasses }
3836 activeClassName = { activeNavLinkClasses }
3937 >
You can’t perform that action at this time.
0 commit comments