Commit 0a353103 authored by Robert Knight's avatar Robert Knight

Remove unused second parameter from `toastMessenger.error` call

Toasts in the old UI used to have a title and a message. Toasts in the
new UI currently only have a message.
parent 98cae614
......@@ -44,7 +44,7 @@ function AnnotationActionBar({
const onDelete = () => {
if (window.confirm('Are you sure you want to delete this annotation?')) {
annotationsService.delete(annotation).catch(err => {
toastMessenger.error(err.message, 'Deleting annotation failed');
toastMessenger.error(err.message);
});
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment