Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto import tag correction for useGLTF #67

Closed
pcdependency opened this issue Feb 8, 2021 · 0 comments · Fixed by #65
Closed

Auto import tag correction for useGLTF #67

pcdependency opened this issue Feb 8, 2021 · 0 comments · Fixed by #65

Comments

@pcdependency
Copy link

The auto-import tag is directing to the wrong directory.

Error: import { useGLTF } from "@react-three/drei/useGLTF";

Fixed: import { useGLTF } from "@react-three/drei/core/useGLTF";

The useGLTF file has been changed to inside of @react-three/drei/core

Thanks.

@joshuaellis joshuaellis linked a pull request Feb 8, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant