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