replace onError
This commit is contained in:
parent
b09f6f8c17
commit
7fa6f74935
@ -32,7 +32,7 @@ export const DeviceRemoveButton = props => {
|
||||
notify("resources.devices.action.erase.success");
|
||||
refresh();
|
||||
},
|
||||
onFailure: () => {
|
||||
onError: () => {
|
||||
notify("resources.devices.action.erase.failure", { type: "error" });
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user