Skip to content

Commit b552e2a

Browse files
committed
index
1 parent 562f450 commit b552e2a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/index.js

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
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";
58

6-
const root = ReactDOM.createRoot(document.getElementById('root'));
9+
library.add(faSpinner, faPlay, faMagnifyingGlass);
10+
11+
const root = ReactDOM.createRoot(document.getElementById("root"));
712
root.render(
8-
<React.StrictMode>
13+
<Router>
914
<App />
10-
</React.StrictMode>
15+
</Router>
1116
);
1217

1318
// If you want to start measuring performance in your app, pass a function

0 commit comments

Comments
 (0)