Skip to content

Commit

Permalink
Merge pull request #28 from CristianF09/Statistic-no-categories
Browse files Browse the repository at this point in the history
schimbat cu HashRouter
  • Loading branch information
Miro-wq authored Nov 4, 2024
2 parents 1a7a489 + 86b3a32 commit 73039dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import { HashRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import App from '../src/components/App/App';
import store from './redux/Store';
Expand All @@ -13,8 +13,8 @@ const basename =

root.render(
<Provider store={store}>
<BrowserRouter basename={basename}>
<HashRouter basename={basename}>
<App />
</BrowserRouter>
</HashRouter>
</Provider>
);

0 comments on commit 73039dd

Please sign in to comment.