aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 62adcf3..21ae21a 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,12 +1,11 @@
-import React from 'react';
import ReactDOM from 'react-dom';
-import './index.css';
-import App from './App';
+import { BrowserRouter } from 'react-router-dom';
+import Router from "./routes";
ReactDOM.render(
- <React.StrictMode>
- <App />
- </React.StrictMode>,
- document.getElementById('root')
+ <BrowserRouter>
+ <Router />
+ </BrowserRouter>,
+ document.getElementById('root')
);