Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rehhouari authored Jan 3, 2024
1 parent 3d410c7 commit eda894c
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 @@ -101,7 +101,7 @@ Parameters can be made optional by adding a ?, or turned into a wildcard match b
<template x-route="notfound"></template>
```

Then you access paramaters with `$route.params.X`.
Then you access paramaters with `$router.params.X`.

> Borrowed from [Preact Router](https://github.com/preactjs/preact-router)
Expand Down

0 comments on commit eda894c

Please sign in to comment.