Skip to content

Commit

Permalink
docs(router): missing character in code-splitting guide (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigigiancola authored Jan 12, 2025
1 parent 40f9f49 commit 9c9d0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/guide/code-based-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Building non-nested routes in code-based routing does not require using a traili
- `/posts`
- `$postId`

To do this we need to build a separate route for the post editor an include the entire path in the `path` option from the root of where we want the route to be nested (in this case, the root):
To do this we need to build a separate route for the post editor and include the entire path in the `path` option from the root of where we want the route to be nested (in this case, the root):

```tsx
// The posts editor route is nested under the root route
Expand Down

0 comments on commit 9c9d0f4

Please sign in to comment.