Skip to content

Commit 9de3598

Browse files
authored
fix(docs): correct unclosed Route tag in JSX example
Fix unclosed JSX tag in Route component example. The Route component was missing the closing `/` which is required in JSX syntax.
1 parent 7fc5295 commit 9de3598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/components/Routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Route, Routes } from "react-router";
3333
<Routes>
3434
<Route index element={<StepOne />} />
3535
<Route path="step-2" element={<StepTwo />} />
36-
<Route path="step-3" element={<StepThree />}>
36+
<Route path="step-3" element={<StepThree />} />
3737
</Routes>
3838
```
3939

0 commit comments

Comments
 (0)