Skip to content

Commit bf23782

Browse files
authored
Update main.tsx
1 parent 2b624dc commit bf23782

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { StrictMode } from 'react';
22
import { createRoot } from 'react-dom/client';
3+
import { BrowserRouter } from 'react-router-dom';
34
import App from './App.tsx';
45
import './index.css';
56

67
createRoot(document.getElementById('root')!).render(
78
<StrictMode>
8-
<App />
9+
<BrowserRouter>
10+
<App />
11+
</BrowserRouter>
912
</StrictMode>
1013
);

0 commit comments

Comments
 (0)