mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 16:03:47 +00:00
Replace manual state resets with custom hooks that automatically clear section heights and active section when switching PR entries. This prevents state leakage between files and simplifies the diff viewer component. Also validates the active section key exists before passing it to child components.