fix(ui): Remove unused handlers to fix Typescript build

This commit is contained in:
2026-01-19 11:54:12 +00:00
parent de39cd78bd
commit 7caa2cd4f5

View File

@@ -45,16 +45,7 @@ export function RoboticsSettings({ isOpen, onClose, apiBase }: RoboticsSettingsP
} catch (e) { alert("Update failed") }
}
// Industry Handlers
const handleAddIndustry = async () => {
try { await axios.post(`${apiBase}/industries`, { name: "New Industry" }); fetchIndustries() } catch (e) { alert("Failed") }
}
const handleUpdateIndustry = async (id: number, data: any) => {
try { await axios.put(`${apiBase}/industries/${id}`, data); fetchIndustries() } catch (e) { alert("Failed") }
}
const handleDeleteIndustry = async (id: number) => {
try { await axios.delete(`${apiBase}/industries/${id}`); fetchIndustries() } catch (e) { alert("Failed") }
}
// Industry Handlers Removed (Notion SSoT)
// Job Role Handlers
const handleAddJobRole = async () => {