A junior dev added a live-poll feature to the notifications panel. After navigating away, the browser console starts throwing "Can't perform a React state update on an unmounted component" and memory usage climbs. Spot the issue.
▶ Run Code to test against examples · Submit to judge all 0 test cases