diff --git a/frontend/src/pages/HelpPage.tsx b/frontend/src/pages/HelpPage.tsx index 4992092..98fbdec 100644 --- a/frontend/src/pages/HelpPage.tsx +++ b/frontend/src/pages/HelpPage.tsx @@ -1,5 +1,4 @@ import { useState } from 'react' -import { useNavigate } from 'react-router-dom' import { useAuthStore } from '../stores/useAuthStore' // ── Section types ────────────────────────────────────────────────────────────── @@ -365,7 +364,6 @@ const SECTIONS: Section[] = [ // ── Page ─────────────────────────────────────────────────────────────────────── export default function HelpPage() { - const navigate = useNavigate() const user = useAuthStore(s => s.user) const isAdmin = user?.role === 'admin' const [activeId, setActiveId] = useState('overview') diff --git a/frontend/src/pages/admin/AdminClientsPage.tsx b/frontend/src/pages/admin/AdminClientsPage.tsx index 6f0d7f8..360044e 100644 --- a/frontend/src/pages/admin/AdminClientsPage.tsx +++ b/frontend/src/pages/admin/AdminClientsPage.tsx @@ -182,7 +182,7 @@ export default function AdminClientsPage() { // ── Export template per-client ───────────────────────────────────────────────── function ClientExportTemplate({ clientId }: { clientId: string }) { - const [data, setData] = useState<{ template: ExportTemplateColumn[]; hasCustom: boolean; fields: string[] } | null>(null) + const [data, setData] = useState<{ template: ExportTemplateColumn[]; hasCustomTemplate: boolean; fields: string[] } | null>(null) useEffect(() => { getClientExportTemplate(clientId).then(setData).catch(() => {}) @@ -198,8 +198,8 @@ function ClientExportTemplate({ clientId }: { clientId: string }) { Export CSV template detectClientExportTemplate(clientId, file)} onSave={async tpl => { await saveClientExportTemplate(clientId, tpl); await reload() }}