Fix Function Hoisting - renderBoneTree in LeftToolbar.tsx & RightPanel.tsx #5

Closed
opened 2026-06-06 21:05:43 +00:00 by Mark · 0 comments
Owner

renderBoneTree referenced before declaration in both files.

Files/Lines:

  • src/pages/editor/LeftToolbar.tsx:376 (referenced) vs 350 (declared)
  • src/pages/editor/RightPanel.tsx:904 (referenced) vs 867 (declared)

Fix: Move useCallback declarations before their usage in JSX.

`renderBoneTree` referenced before declaration in both files. **Files/Lines:** - `src/pages/editor/LeftToolbar.tsx:376` (referenced) vs `350` (declared) - `src/pages/editor/RightPanel.tsx:904` (referenced) vs `867` (declared) **Fix:** Move `useCallback` declarations before their usage in JSX.
Mark closed this issue 2026-06-14 09:43:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/kimi_agent_hero_forge_slice_issue#5
No description provided.