summaryrefslogtreecommitdiff
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index 78b75f9..f031ef7 100644
--- a/src/app.js
+++ b/src/app.js
@@ -10,9 +10,7 @@ const rootEl = document.getElementById('app');
Modal.setAppElement(rootEl);
-// ReactDOM.render(<Root />, rootEl);
-const { createRoot } = ReactDOM;
-const root = createRoot(rootEl);
+const root = ReactDOM.unstable_createRoot(rootEl);
root.render(<Root />);
// eslint-disable-next-line no-console