Update deprecated notify call

This commit is contained in:
Dirk Klimpel 2022-02-02 15:35:32 +01:00 committed by GitHub
parent 5c05625191
commit 58b60f09af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" });
}, },
} }
); );