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");
|
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" });
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user