Remove users from navbar

This commit is contained in:
Louis Knight-Webb
2025-06-17 14:19:41 -04:00
parent a709951fdc
commit b93af85ec3

View File

@@ -1,6 +1,6 @@
import { Link, useLocation } from 'react-router-dom' import { Link, useLocation } from 'react-router-dom'
import { Button } from '@/components/ui/button' import { Button } from '@/components/ui/button'
import { ArrowLeft, FolderOpen, Users } from 'lucide-react' import { ArrowLeft, FolderOpen } from 'lucide-react'
export function Navbar() { export function Navbar() {
const location = useLocation() const location = useLocation()
@@ -23,16 +23,7 @@ export function Navbar() {
Projects Projects
</Link> </Link>
</Button> </Button>
<Button
asChild
variant={location.pathname === '/users' ? 'default' : 'ghost'}
size="sm"
>
<Link to="/users">
<Users className="mr-2 h-4 w-4" />
Users
</Link>
</Button>
</div> </div>
</div> </div>
<div className="flex items-center space-x-4"> <div className="flex items-center space-x-4">