Merge pull request #12 from Mario-SO/patch-1
0e6dee21
Small typo
1 file(s) · +1 −1
Small typo
| 113 | 113 | ||
| 114 | 114 | ### Setup Router |
|
| 115 | 115 | ||
| 116 | - | You can do this inside `main.tsx` or `App.tsx`, I prefer the latter. All you have to do is import the `BrowserRouter`, `Routes`, then declare your routes with the compnents they go to inside. |
|
| 116 | + | You can do this inside `main.tsx` or `App.tsx`, I prefer the latter. All you have to do is import the `BrowserRouter`, `Routes`, then declare your routes with the components they go to inside. |
|
| 117 | 117 | ||
| 118 | 118 | ```tsx App.tsx |
|
| 119 | 119 | import { BrowserRouter, Routes, Route } from "react-router"; |