mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
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. |
||
|---|---|---|
| .. | ||
| AnnouncementCard.tsx | ||
| AnnouncementsEmptyState.tsx | ||
| AnnouncementToastProvider.tsx | ||