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") }
|
||||
}
|
||||
|
||||
// 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 () => {
|
||||
|
||||
Reference in New Issue
Block a user