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:
Rohan Verma 2026-04-09 14:01:09 -07:00 committed by GitHub
commit 7808950abc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,6 +69,7 @@ export function PublicChatSnapshotsManager({
});
} catch (error) {
console.error("Failed to delete snapshot:", error);
toast.error("Failed to delete snapshot");
} finally {
setDeletingId(undefined);
}