aboutsummaryrefslogtreecommitdiff
path: root/part2/phonebook/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'part2/phonebook/src/index.js')
-rw-r--r--part2/phonebook/src/index.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/part2/phonebook/src/index.js b/part2/phonebook/src/index.js
new file mode 100644
index 0000000..68a05ff
--- /dev/null
+++ b/part2/phonebook/src/index.js
@@ -0,0 +1,10 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import App from './App';
+
+
+const root = ReactDOM.createRoot(document.getElementById('root'));
+root.render(
+ <App />
+)
+