aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-04 20:54:04 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-04 20:54:04 +0100
commit32e465cd02b7e420ac63b5bd6dcb2caa5cdf3740 (patch)
tree65fc2299b315def57e0f306a979774acb6fb8c5d /src/index.tsx
parent247a5bd0f8f4ce77bc5d02ccb1a315b254b23e8f (diff)
home page en routing
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')
);