mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-06 19:35:44 +02:00
fix cn import in rowboat
This commit is contained in:
parent
edf901bf11
commit
33f30670f6
1 changed files with 1 additions and 5 deletions
|
|
@ -4,7 +4,6 @@ import { useRouter } from "next/navigation";
|
|||
import { ScenariosApp } from "./scenarios_app";
|
||||
import { ProfilesApp } from "./profiles_app";
|
||||
import { SimulationsApp } from "./simulations_app";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { usePathname } from "next/navigation";
|
||||
import { RunsApp } from "./runs_app";
|
||||
|
||||
|
|
@ -49,10 +48,7 @@ export function App({
|
|||
{menuItems.map((item) => (
|
||||
<li key={item.label}>
|
||||
<Link
|
||||
className={cn(
|
||||
"block p-2 rounded-md text-sm",
|
||||
pathname.startsWith(item.href) ? "bg-gray-100" : "hover:bg-gray-100"
|
||||
)}
|
||||
className={`block p-2 rounded-md text-sm ${pathname.startsWith(item.href) ? "bg-gray-100" : "hover:bg-gray-100"}`}
|
||||
href={item.href}>{item.label}</Link>
|
||||
</li>
|
||||
))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue