Skip to content

Commit

Permalink
react-dev-tool dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Dec 9, 2021
1 parent e0879e2 commit 2bdd654
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sandpack-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"@react-hook/intersection-observer": "^3.1.1",
"codesandbox-import-util-types": "^2.2.3",
"codesandbox-import-utils": "^2.2.3",
"react-devtools-inline": "4.4.0"
"react-devtools-inline": "4.4.0",
"react-is": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.12.3",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/docs/advanced-usage/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function CustomSandpack() {
<SandpackProvider template="react">
<SandpackLayout>
<SandpackPreview />
<SandpackReactDevTools style={{ width: "50%" }} />
<SandpackReactDevTools style={{ flex: 1 }} />
</SandpackLayout>
</SandpackProvider>
)
Expand Down
2 changes: 1 addition & 1 deletion website/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "next lint"
},
"dependencies": {
"@codesandbox/sandpack-react": "^0.9.1",
"@codesandbox/sandpack-react": "*",
"framer-motion": "^5.3.3",
"next": "12.0.3",
"react": "17.0.2",
Expand Down

0 comments on commit 2bdd654

Please sign in to comment.