project-nomad/admin/inertia/providers
Chris Sherwood 6f0c829d36 fix: Notification auto-dismiss not working due to stale closure
The removeNotification function was using a stale reference to the
notifications array from the closure scope, causing the setTimeout
callback to filter against an outdated state.

Changed to use functional update pattern (prev => prev.filter(...))
which correctly references the current state when the timeout fires.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:06:44 -08:00
..
ModalProvider.tsx feat: init app installation and documentation 2025-06-30 01:44:42 -07:00
NotificationProvider.tsx fix: Notification auto-dismiss not working due to stale closure 2026-01-19 10:06:44 -08:00