diff options
Diffstat (limited to 'panel/src/main.jsx')
-rw-r--r-- | panel/src/main.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/panel/src/main.jsx b/panel/src/main.jsx index 881e61b..f8085d8 100644 --- a/panel/src/main.jsx +++ b/panel/src/main.jsx @@ -1,5 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; +import { BrowserRouter as Router } from 'react-router-dom'; import App from './App'; import './index.css'; import './tailwind.css'; @@ -7,6 +8,8 @@ import 'bootstrap/dist/css/bootstrap.min.css'; ReactDOM.createRoot(document.getElementById('root')).render( <React.StrictMode> - <App /> + <Router> + <App /> + </Router> </React.StrictMode> ); |