From 5a19479e708ad9c047ef20d9d634ad672652db2e Mon Sep 17 00:00:00 2001 From: Harshdeep Date: Thu, 22 Aug 2024 09:16:07 -0400 Subject: [PATCH] fix the documentation for useGLTF --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb29be2f3..2dc15e14c 100644 --- a/README.md +++ b/README.md @@ -3139,7 +3139,7 @@ If you want to use your own draco decoder globally, you can pass it through `use > **Note**
If you are using the CDN loaded draco binaries, you can get a small speedup in loading time by prefetching them. > -> You can accomplish this by adding two `` tags to your `` tag, as below. The version in those URLs must exactly match what [useGLTF](src/core/useGLTF.tsx#L18) uses for this to work. If you're using create-react-app, `public/index.html` file contains the `` tag. +> You can accomplish this by adding two `` tags to your `` tag, as below. The version in those URLs must exactly match what [useGLTF](src/core/Gltf.tsx#L32) uses for this to work. If you're using create-react-app, `public/index.html` file contains the `` tag. > > ```html >