Skip to content

Commit

Permalink
fix: use HashRouter instead of BrowserRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Aug 28, 2024
1 parent 14c8ae2 commit dc5e777
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import { HashRouter } from 'react-router-dom';
import App from './App.jsx';
import './main.css';

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
</React.StrictMode>
);

0 comments on commit dc5e777

Please sign in to comment.