Update deprecated notify
call
This commit is contained in:
parent
5c05625191
commit
58b60f09af
@ -44,7 +44,7 @@ export const DeviceRemoveButton = props => {
|
||||
refresh();
|
||||
},
|
||||
onFailure: () => {
|
||||
notify("resources.devices.action.erase.failure", "error");
|
||||
notify("resources.devices.action.erase.failure", { type: "error" });
|
||||
},
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user