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