Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
- ryanflorence
- ryanhiebert
- saengmotmi
- SailorStat
- samimsu
- sanjai451
- sanketshah19
Expand Down
2 changes: 1 addition & 1 deletion docs/api/components/Routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Route, Routes } from "react-router";
<Routes>
<Route index element={<StepOne />} />
<Route path="step-2" element={<StepTwo />} />
<Route path="step-3" element={<StepThree />}>
<Route path="step-3" element={<StepThree />} />
</Routes>
```

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/lib/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ export interface RoutesProps {
* <Routes>
* <Route index element={<StepOne />} />
* <Route path="step-2" element={<StepTwo />} />
* <Route path="step-3" element={<StepThree />}>
* <Route path="step-3" element={<StepThree />} />
* </Routes>
*
* @public
Expand Down