Skip to content

Commit

Permalink
fix: the app nav for real?
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Apr 21, 2024
1 parent 6c80e52 commit e53fa74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/forge/src/components/navbar/appNav/appLinkDropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useState } from "react";
import { Link, useNavigate } from "@tanstack/react-router";
import { AppLink } from "@/config/appLinks.ts";
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
import { Link, useNavigate } from "@tanstack/react-router";
import { Button } from "@ui/components/ui/button.tsx";
import React, { useState } from "react";

type DropdownLinkProps = {
link: AppLink;
Expand All @@ -16,7 +16,7 @@ const DropdownLink: React.FC<DropdownLinkProps> = ({ link, onClick, activeId })
const isActive = linkItem.id === activeId;

// Link styles
const linkClasses = `block p-2 text-sm rounded-md font-medium text-card-foreground hover:bg-accent/40 ${
const linkClasses = `flex justify-center items-center p-2 text-sm font-medium rounded-md text-card-foreground hover:bg-accent/40 ${
isActive ? "border-2 border-accent/40" : ""
}`;

Expand Down

0 comments on commit e53fa74

Please sign in to comment.