Skip to content

Commit 319a80f

Browse files
authored
Fix typo in useMatch documentation
1 parent db15d0c commit 319a80f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/solid-router/reference/primitives/use-match.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ return <div classList={{ active: Boolean(match()) }} />;
1414
As a second parameter, `useMatch` also accepts a group of `MatchFilters`.
1515
These filters allow for a more granular check.
1616

17-
The filters are the same used by the `<Router>` itself and they accept either a an array of strings, or a regular expression. Additionally, there's a `boolean` option to match a route only if it has, or doesn't have, the HTML extension.
17+
The filters are the same used by the `<Router>` itself and they accept either an array of strings, or a regular expression. Additionally, there's a `boolean` option to match a route only if it has, or doesn't have, the HTML extension.
1818

1919
```js
2020
const filters: MatchFilters = {

0 commit comments

Comments
 (0)