Skip to content

Commit

Permalink
chore(docs): don't import from three/src
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Dec 9, 2024
1 parent 0edd1fa commit 5a50800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/loading-textures.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Let's then with this information create a small scene where we can use this text
```jsx
import { Suspense } from 'react'
import { Canvas, useLoader } from '@react-three/fiber'
import { TextureLoader } from 'three/src/loaders/TextureLoader'
import { TextureLoader } from 'three'

function Scene() {
const colorMap = useLoader(TextureLoader, 'PavingStones092_1K_Color.jpg')
Expand Down

0 comments on commit 5a50800

Please sign in to comment.