mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix: add user feedback for snapshot deletion failures (#1197)
- Add toast.error notification when snapshot deletion fails - Preserve console.error logging for debugging - Consistent with error handling patterns in other components - Improves user experience by providing visible error feedback
This commit is contained in:
parent
d5f46dd7de
commit
9ed85af2a5
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ export function PublicChatSnapshotsManager({
|
|||
});
|
||||
} catch (error) {
|
||||
console.error("Failed to delete snapshot:", error);
|
||||
toast.error("Failed to delete snapshot");
|
||||
} finally {
|
||||
setDeletingId(undefined);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue