From 7caa2cd4f55c60dc6d77506ecc237185ea22083c Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 19 Jan 2026 11:54:12 +0000 Subject: [PATCH] fix(ui): Remove unused handlers to fix Typescript build --- .../frontend/src/components/RoboticsSettings.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/company-explorer/frontend/src/components/RoboticsSettings.tsx b/company-explorer/frontend/src/components/RoboticsSettings.tsx index bf53950c..c92391f4 100644 --- a/company-explorer/frontend/src/components/RoboticsSettings.tsx +++ b/company-explorer/frontend/src/components/RoboticsSettings.tsx @@ -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 () => {