aboutsummaryrefslogtreecommitdiff
path: root/part1/unicafe/src/index.js
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-04-25 22:29:03 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-04-25 22:29:03 -0400
commitff58edc98a1224fa24a006b7d5273fbf0c1e2c29 (patch)
tree834647ae142f3a29a828527f16bde38ff4d411c2 /part1/unicafe/src/index.js
parent269ab61b887718ac5820b7f50cd9de3682944a5d (diff)
ex1.6
Diffstat (limited to 'part1/unicafe/src/index.js')
-rw-r--r--part1/unicafe/src/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/part1/unicafe/src/index.js b/part1/unicafe/src/index.js
new file mode 100644
index 0000000..0c5ea83
--- /dev/null
+++ b/part1/unicafe/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 />)