Skip to content

Commit

Permalink
docs(react-README): updates links to point to /v6 (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannchopin committed Feb 14, 2024
1 parent 379e130 commit 26d7886
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/casl-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function App({ props }) {
}
```

> See [CASL guide](https://casl.js.org/v5/en/guide/intro) to learn how to define `Ability` instance.
> See [CASL guide](https://casl.js.org/v6/en/guide/intro) to learn how to define `Ability` instance.
and use our `Can` component:

Expand Down Expand Up @@ -302,7 +302,7 @@ export default () => {
};
```

> See [Define rules](https://casl.js.org/v5/en/guide/define-rules) to get more information of how to define `Ability`
> See [Define rules](https://casl.js.org/v6/en/guide/define-rules) to get more information of how to define `Ability`
## `useAbility` usage within hooks

Expand All @@ -319,7 +319,7 @@ Want to file a bug, contribute some code, or improve documentation? Excellent! R

If you'd like to help us sustain our community and project, consider [to become a financial contributor on Open Collective](https://opencollective.com/casljs/contribute)

> See [Support CASL](https://casl.js.org/v5/en/support-casljs) for details
> See [Support CASL](https://casl.js.org/v6/en/support-casljs) for details
## License

Expand Down

0 comments on commit 26d7886

Please sign in to comment.