fix(ui): surface partial failure warning toast for bulk actions

This commit is contained in:
harsh-aghara committed 2026-05-23 18:47:55 +05:30
1 parent a044d7b2c7
commit 0ff642cb24
19 files changed
+51 -21

No files matched your search

+3 -1
View File
@@ -20,6 +20,8 @@ export const useToast = () => {
showToast(msg, { ...opts, type: "error" });
const toastInfo = (msg: string, opts?: ToastOptions) =>
showToast(msg, { ...opts, type: "info" });
const toastWarning = (msg: string, opts?: ToastOptions) =>
showToast(msg, { ...opts, type: "warning" });
return { showToast, toastSuccess, toastError, toastInfo };
return { showToast, toastSuccess, toastError, toastInfo, toastWarning };
};