write/frontend
chris e5b9f643e1 Fix TDZ crash: move useEffect hooks to after runLint declaration
useEffect(() => {...}, [runLint]) evaluated [runLint] immediately,
but runLint was declared with const on the next line — temporal dead
zone. Moved both effects to after the useCallback closes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 21:52:39 -04:00
..