Skip to content

Commit 29e7bc9

Browse files
committed
Fix import
1 parent fca3583 commit 29e7bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beta/patches/@codesandbox+sandpack-react+0.14.3-experimental.1.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
diff --git a/node_modules/@codesandbox/sandpack-react/dist/esm/index.js b/node_modules/@codesandbox/sandpack-react/dist/esm/index.js
2-
index 4acfc3a..cdb83f1 100644
2+
index 4acfc3a..d00e57d 100644
33
--- a/node_modules/@codesandbox/sandpack-react/dist/esm/index.js
44
+++ b/node_modules/@codesandbox/sandpack-react/dist/esm/index.js
55
@@ -566,17 +566,16 @@ var REACT_TEMPLATE = {
66
},
77
"/index.js": {
88
code: `import React, { StrictMode } from "react";
99
-import ReactDOM from "react-dom";
10-
+import { createRoot } from "react-dom";
10+
+import { createRoot } from "react-dom/client";
1111
import "./styles.css";
1212

1313
import App from "./App";

0 commit comments

Comments
 (0)