zack commited on
Commit
9bcd0c7
Β·
1 Parent(s): aef915f

feat: move index.js to pages directory 🚚

Browse files
Files changed (1) hide show
  1. frontend/pages/index.js +18 -0
frontend/pages/index.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom/client';
3
+ import './css/index.css';
4
+ import App from './App';
5
+ //import Navbar from './Components/Navagation/navbar';
6
+ import reportWebVitals from './reportWebVitals';
7
+
8
+ const root = ReactDOM.createRoot(document.getElementById('Gradio-Flow'));
9
+ root.render(
10
+ <React.StrictMode>
11
+ < App/>
12
+ </React.StrictMode>
13
+ );
14
+
15
+ // If you want to start measuring performance in your app, pass a function
16
+ // to log results (for example: reportWebVitals(console.log))
17
+ // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
18
+ reportWebVitals();