From 0ac5c67dfed95797572a9bea846986815f4440c4 Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Thu, 5 Dec 2024 18:08:53 +0100 Subject: [PATCH] NORY-15: fix app sidebar opening on navigation --- dashboard/src/components/app-sidebar.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/src/components/app-sidebar.tsx b/dashboard/src/components/app-sidebar.tsx index 5598b4a..7039c7f 100644 --- a/dashboard/src/components/app-sidebar.tsx +++ b/dashboard/src/components/app-sidebar.tsx @@ -21,6 +21,7 @@ import { } from '@/components/ui/dropdown-menu'; import { useTheme } from 'next-themes'; import { LogoutLink } from '@/ory'; +import Link from 'next/link'; export function AppSidebar({ ...props }: React.ComponentProps) { @@ -54,10 +55,10 @@ export function AppSidebar({ ...props }: React.ComponentProps) { {items.map((item) => ( - + {item.title} - + ))}