Skip to content

Commit

Permalink
docs:fix sandpack dependencies issue (#3412)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbtiberiu committed Dec 7, 2024
1 parent 2cba879 commit 4e46a16
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 4e46a16

Please sign in to comment.