Skip to content

Commit

Permalink
docs(useVideoTexture): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Mar 31, 2023
1 parent 646541a commit 25eb1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@ const [stream, setStream] = useState()
return (
<mesh onClick={() => setStream(await navigator.mediaDevices.getDisplayMedia({ video: true })}>
<React.Suspense fallback={<meshBasicMaterial wireframe />}>
<VideoMaterial src={src} />
<VideoMaterial src={stream} />
</React.Suspense>
```
```jsx
Expand Down

1 comment on commit 25eb1a2

@vercel
Copy link

@vercel vercel bot commented on 25eb1a2 Mar 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.