fix(ui): Remove unused handlers to fix Typescript build
This commit is contained in:
@@ -45,16 +45,7 @@ export function RoboticsSettings({ isOpen, onClose, apiBase }: RoboticsSettingsP
|
|||||||
} catch (e) { alert("Update failed") }
|
} catch (e) { alert("Update failed") }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Industry Handlers
|
// Industry Handlers Removed (Notion SSoT)
|
||||||
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") }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Job Role Handlers
|
// Job Role Handlers
|
||||||
const handleAddJobRole = async () => {
|
const handleAddJobRole = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user