File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
- import ReactDOM from 'react-dom/client' ;
3
- import App from './App' ;
4
- import reportWebVitals from './reportWebVitals' ;
1
+ import React from "react" ;
2
+ import ReactDOM from "react-dom/client" ;
3
+ import App from "./App" ;
4
+ import reportWebVitals from "./reportWebVitals" ;
5
+ import { library } from "@fortawesome/fontawesome-svg-core" ;
6
+ import { faPlay , faSpinner , faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons" ;
7
+ import { BrowserRouter as Router } from "react-router-dom" ;
5
8
6
- const root = ReactDOM . createRoot ( document . getElementById ( 'root' ) ) ;
9
+ library . add ( faSpinner , faPlay , faMagnifyingGlass ) ;
10
+
11
+ const root = ReactDOM . createRoot ( document . getElementById ( "root" ) ) ;
7
12
root . render (
8
- < React . StrictMode >
13
+ < Router >
9
14
< App />
10
- </ React . StrictMode >
15
+ </ Router >
11
16
) ;
12
17
13
18
// If you want to start measuring performance in your app, pass a function
You can’t perform that action at this time.
0 commit comments