From ad9012097b422ffc968a53748e08c205715aa322 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:43:19 -0700 Subject: [PATCH] fix(dashboard): dedupe useNavigate import/declaration in ProfilesPage tsc -b (run by the Docker image build, unlike local vite-only checks) rejected the duplicate identifier. --- web/src/pages/ProfilesPage.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/src/pages/ProfilesPage.tsx b/web/src/pages/ProfilesPage.tsx index a1e69bfbcc84..29220ea96396 100644 --- a/web/src/pages/ProfilesPage.tsx +++ b/web/src/pages/ProfilesPage.tsx @@ -22,7 +22,6 @@ import { X, } from "lucide-react"; import spinners from "unicode-animations"; -import { useNavigate } from "react-router-dom"; import { H2 } from "@nous-research/ui/ui/components/typography/h2"; import { api } from "@/lib/api"; import type { ActiveProfileInfo, ProfileInfo } from "@/lib/api"; @@ -260,7 +259,6 @@ export default function ProfilesPage() { const { toast, showToast } = useToast(); const { t } = useI18n(); const { setEnd } = usePageHeader(); - const navigate = useNavigate(); // Locale strings with English fallbacks. The enriched keys are optional in // the i18n type so untranslated locales don't break the build — they render