Unverified Commit e01883f9 authored by Maxime FRIESS's avatar Maxime FRIESS 💙
Browse files

[*] Fixed react router

parent ba6e78ba
Pipeline #68982 passed with stages
in 7 minutes
......@@ -16,7 +16,7 @@ export const App: FC = () => {
return (
<div className="App">
<Routes>
<Route path="" element={<Intro />} />
<Route path="/" element={<Intro />} />
<Route path="done" element={<Done />} />
<Route path="menu" element={<Menu />} />
<Route path="start" element={<Start />} />
......
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';
import { HashRouter } from 'react-router-dom';
import { App } from './App';
import { appStore } from './store/store';
ReactDOM.render(
<Provider store={appStore}>
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
</Provider>,
document.getElementById('root')
);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment