Skip to content

Commit ef67804

Browse files
authored
doc: Update create-browser-router.md example snippet (#11557)
1 parent bfe6113 commit ef67804

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@
242242
- tlinhart
243243
- tom-sherman
244244
- tomasr8
245+
- tony-sn
245246
- TooTallNate
246247
- triangularcube
247248
- trungpv1601

docs/routers/create-browser-router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ let router = createBrowserRouter(routes, {
271271
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:
272272

273273
```ts
274-
const routes [
274+
const routes = [
275275
{
276276
id: "parent",
277277
path: "/parent",

0 commit comments

Comments
 (0)