mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-04 22:02:16 +02:00
Merge pull request #1208 from SohamBhattacharjee2003/fix/snapshot-delete-error-feedback
fix: add user feedback for snapshot deletion failures (#1197)
This commit is contained in:
commit
7808950abc
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ export function PublicChatSnapshotsManager({
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to delete snapshot:", error);
|
console.error("Failed to delete snapshot:", error);
|
||||||
|
toast.error("Failed to delete snapshot");
|
||||||
} finally {
|
} finally {
|
||||||
setDeletingId(undefined);
|
setDeletingId(undefined);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue