Files
AIHostingTycoon/apps/web
josh a36617f9e3
CI / build-and-push (push) Successful in 34s
Fix max update depth crash on Infrastructure page
ToastContainer's useEffect had `seen` (a Set state) in its dependency
array — each setSeen created a new Set, re-fired the effect, and under
rapid notifications cascaded past React's 50-update limit. Replaced
with a ref since seen doesn't need to trigger re-renders.

Also added useShallow to DataCenterCard's pipeline selector to prevent
.filter() from causing spurious re-renders on unrelated store changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 20:29:54 -04:00
..