replace onError

This commit is contained in:
dklimpel 2024-02-05 21:44:51 +01:00
parent b09f6f8c17
commit 7fa6f74935

View File

@ -32,7 +32,7 @@ export const DeviceRemoveButton = props => {
notify("resources.devices.action.erase.success"); notify("resources.devices.action.erase.success");
refresh(); refresh();
}, },
onFailure: () => { onError: () => {
notify("resources.devices.action.erase.failure", { type: "error" }); notify("resources.devices.action.erase.failure", { type: "error" });
}, },
} }