Merge pull request #12 from Mario-SO/patch-1 0e6dee21
Small typo
Steve Simkins · 2025-07-14 14:58 1 file(s) · +1 −1
docs/pages/packages/client.mdx +1 −1
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";