Description
When multiple identical events occur within milliseconds (e.g. a webhook fires twice), ToastContainer renders duplicate toast entries. The component should deduplicate toasts with the same message and type that arrive within a short debounce window.
Acceptance Criteria
Context
- Target file:
src/components/ToastContainer.tsx
Description
When multiple identical events occur within milliseconds (e.g. a webhook fires twice),
ToastContainerrenders duplicate toast entries. The component should deduplicate toasts with the same message and type that arrive within a short debounce window.Acceptance Criteria
message+type) fired within 500 ms are collapsed into a single toastContext
src/components/ToastContainer.tsx