Skip to content

Commit

Permalink
Merge pull request #79 from Etlas-SCU/ChangingRouter
Browse files Browse the repository at this point in the history
refactor: change routing to hashrouting
  • Loading branch information
7oSkaaa authored Jul 10, 2023
2 parents a7ea076 + 423100b commit dad5c2f
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
Expand Up @@ -2,12 +2,12 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import './i18n';
import App from './App';
import { BrowserRouter } from 'react-router-dom';
import { HashRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root'));


root.render(
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
);

0 comments on commit dad5c2f

Please sign in to comment.