We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609460f commit 86cbe7bCopy full SHA for 86cbe7b
src/examples/gltfViewer.tsx
@@ -123,7 +123,7 @@ const GLTF = () => {
123
}
124
125
export default function GLTFViewer() {
126
- const viewerEntity = useMutableState(EngineState).viewerEntity.value
+ const viewerEntity = useMutableState(ReferenceSpaceState).viewerEntity.value
127
128
useEffect(() => {
129
const bgColor = document.body.style.backgroundColor
0 commit comments