From a19fcdf79205628f56c54f17cc7c67668a837789 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 24 May 2026 19:45:12 +0000 Subject: [PATCH] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/components/three/ModelViewer.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index 71e4772..0b8cde3 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -1174,10 +1174,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) { maxDistance={50} enabled={!positionMode} ref={(c: any) => { - // Expose to the ViewCube bus - import('./viewCubeBus').then(({ mainControlsRef }) => { - mainControlsRef.current = c; - }); + mainControlsRef.current = c; }} />