Skip to content

Commit c58aa43

Browse files
rmarquisbchapuis
authored andcommitted
fix(web): resolve React Hooks Rules violations in GLTF viewer
- Move useMemo hooks before early return to comply with Rules of Hooks - Add missing dependencies (camera, sceneRef) to useEffect dependency array - Ensures hooks are called in consistent order on every render
1 parent 4e2f46e commit c58aa43

1 file changed

Lines changed: 334 additions & 238 deletions

File tree

0 commit comments

Comments
 (0)