feat: remove toast error messages for various operations and rely on axios interceptor for error handling

Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com>
This commit is contained in:
Noooste
2026-04-19 23:40:00 +02:00
parent 1cd9e734bc
commit f48d6f0812
5 changed files with 10 additions and 16 deletions
@@ -87,7 +87,7 @@ export function ObjectDetailsView() {
document.body.removeChild(a);
toast.success('Download started');
} catch {
toast.error('Download failed');
// error toast handled by axios interceptor
}
};
@@ -99,7 +99,7 @@ export function ObjectDetailsView() {
toast.success('Object deleted');
navigate(backHref);
} catch {
toast.error('Delete failed');
// error toast handled by axios interceptor
} finally {
setDeleting(false);
setDeleteOpen(false);