diff --git a/src/components/Models/Model/Model.component.tsx b/src/components/Models/Model/Model.component.tsx index d2d2d4a0..b8f45399 100644 --- a/src/components/Models/Model/Model.component.tsx +++ b/src/components/Models/Model/Model.component.tsx @@ -24,7 +24,7 @@ export const Model: FC = ({ scene, scale = 1, modelRef, onLoaded }) node.receiveShadow = true; } }); - console.log({ onLoaded }); + useEffect(() => triggerCallback(onLoaded), [scene, materials, onLoaded]); return (