aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/header
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard/header')
-rw-r--r--apps/web/components/dashboard/header/ProfileOptions.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/components/dashboard/header/ProfileOptions.tsx b/apps/web/components/dashboard/header/ProfileOptions.tsx
index fc18e9d2..3d125606 100644
--- a/apps/web/components/dashboard/header/ProfileOptions.tsx
+++ b/apps/web/components/dashboard/header/ProfileOptions.tsx
@@ -16,7 +16,7 @@ import { LogOut, Moon, Paintbrush, Settings, Shield, Sun } from "lucide-react";
import { signOut, useSession } from "next-auth/react";
import { useTheme } from "next-themes";
-import { AdminNoticeBadge } from "../admin/AdminNotices";
+import { AdminNoticeBadge } from "../../admin/AdminNotices";
function DarkModeToggle() {
const { t } = useTranslation();
@@ -74,7 +74,7 @@ export default function SidebarProfileOptions() {
</DropdownMenuItem>
{session.user.role == "admin" && (
<DropdownMenuItem asChild>
- <Link href="/dashboard/admin" className="flex justify-between">
+ <Link href="/admin" className="flex justify-between">
<div className="items-cente flex gap-2">
<Shield className="size-4" />
{t("admin.admin_settings")}