Skip to content

Commit 0d5cc36

Browse files
authored
fix: sb7 fix story gltf url
1 parent f7774aa commit 0d5cc36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.storybook/stories/Autofocus.stories.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ export const Primary: Story = {
7474
}
7575

7676
const Suzi = ({ children, ...props }) => {
77-
console.log(import.meta.url)
78-
const { nodes } = useGLTF('/suzi.gltf') as any
77+
const { nodes } = useGLTF('suzi.gltf') as any
7978
return (
8079
<>
8180
<mesh castShadow receiveShadow geometry={nodes.Suzanne.geometry} {...props}>

0 commit comments

Comments
 (0)