Skip to content

Commit

Permalink
Update header.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Feb 2, 2024
1 parent 75cd5dc commit 745dfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ fetchOrders().then((orders) => {
});
```

### `<Router hook={hook} matcher={matchFn} base={basepath} />`
### `<Router hook={hook} parser={fn} base={basepath} />`

Unlike _React Router_, routes in wouter **don't have to be wrapped in a top-level component**. An
internal router object will be constructed on demand, so you can start writing your app without
Expand Down

0 comments on commit 745dfd2

Please sign in to comment.