SurfSense/surfsense_web/components/announcements
Tim Ren c03a1e177a fix(web): clear announcement stagger timers on unmount
The cleanup for the announcement-toast effect only cleared the outer
1500ms timer, leaving the per-announcement stagger timers (i * 800ms)
untracked. If the root layout unmounts during the stagger window, those
timers fire after cleanup and attempt to toast against a dead tree.

Track the inner timer ids in an array and clear them alongside the outer
timer in the effect cleanup.

Fixes #1094.
2026-04-15 20:07:20 +08:00
..
AnnouncementCard.tsx feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
AnnouncementsEmptyState.tsx fix: remove unnecessary "use client" from pure presentational components 2026-03-26 11:50:39 +08:00
AnnouncementToastProvider.tsx fix(web): clear announcement stagger timers on unmount 2026-04-15 20:07:20 +08:00