Skip to content

Commit

Permalink
Merge pull request #3413 from tbtiberiu/fix/docs-sandpack-error
Browse files Browse the repository at this point in the history
docs:fix sandpack dependencies issue
  • Loading branch information
krispya authored Dec 12, 2024
2 parents 5a50800 + 4e46a16 commit 3acb4b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Let's make a re-usable component that has its own state, reacts to user-input an
<Sandpack
customSetup={{
dependencies: {
'react': 'latest',
'react-dom': 'latest',
'react': '18.3.1',
'react-dom': '18.3.1',
'three': 'latest',
'@react-three/fiber': 'latest'
},
Expand All @@ -53,8 +53,8 @@ npm install @types/three
<Sandpack
customSetup={{
dependencies: {
'react': 'latest',
'react-dom': 'latest',
'react': '18.3.1',
'react-dom': '18.3.1',
'three': 'latest',
'@types/three': 'latest',
'@react-three/fiber': 'latest'
Expand Down

0 comments on commit 3acb4b0

Please sign in to comment.