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