Fix Function Hoisting - renderBoneTree in LeftToolbar.tsx & RightPanel.tsx #5
Labels
No labels
blocked:needs-decision
bug
component:editor
component:hero
priority:p2
priority:p3
priority:p4
quickfix
test-coverage
triage-approved
type:bug
type:enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_hero_forge_slice_issue#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
renderBoneTreereferenced before declaration in both files.Files/Lines:
src/pages/editor/LeftToolbar.tsx:376(referenced) vs350(declared)src/pages/editor/RightPanel.tsx:904(referenced) vs867(declared)Fix: Move
useCallbackdeclarations before their usage in JSX.