Files
anubis-mirror/web
Xe Iaso 380d7007ba fix(js/main): add cleanup for toggle event listener in useEffect
The useEffect registered a toggle listener on the <details> element but
never removed it, which could leak handlers on remounts or in tests.
Extract the handler to a named function and return a cleanup that calls
removeEventListener.

Assisted-by: Claude Opus 4.6 via Claude Code
Signed-off-by: Xe Iaso <me@xeiaso.net>
2026-03-24 19:22:51 +00:00
..
2025-08-18 06:52:23 -04:00
2026-01-24 21:27:16 -05:00
2026-01-24 21:27:16 -05:00