Skip to content

Commit

Permalink
doc: Update create-browser-router.md example snippet (#11557)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sn committed May 16, 2024
1 parent bfe6113 commit ef67804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
- tlinhart
- tom-sherman
- tomasr8
- tony-sn
- TooTallNate
- triangularcube
- trungpv1601
Expand Down
2 changes: 1 addition & 1 deletion docs/routers/create-browser-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ let router = createBrowserRouter(routes, {
Let's define a middleware on each route via `handle` and call middleware sequentially first, then call all loaders in parallel - providing any data made available via the middleware:

```ts
const routes [
const routes = [
{
id: "parent",
path: "/parent",
Expand Down

0 comments on commit ef67804

Please sign in to comment.