Skip to content

Commit

Permalink
Fix typo in useLoader example
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa authored Jul 24, 2022
1 parent 29fb066 commit 3f415b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ You can get the loading status from a callback you provide as the fourth argumen
```jsx
useLoader(loader, url, extensions, xhr => {
console.log((xhr.loaded / xhr.total * 100) + '% loaded')
}
})
```
### Special treatment of GLTFLoaders and all loaders that return a scene prop
Expand Down

0 comments on commit 3f415b8

Please sign in to comment.