fix: fully remove react-router now that it is unused (#1317)

This commit is contained in:
Alex Hancock
2025-02-20 16:39:33 -05:00
committed by GitHub
parent 353bf4cddc
commit f509bafd07
15 changed files with 11 additions and 431 deletions
+1 -4
View File
@@ -1,6 +1,5 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { HashRouter as Router } from 'react-router-dom';
import App from './App';
// Error Boundary Component
@@ -72,9 +71,7 @@ window.addEventListener('error', (event) => {
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<ErrorBoundary>
<Router>
<App />
</Router>
<App />
</ErrorBoundary>
</React.StrictMode>
);