Skip to content

Commit

Permalink
docs(fix): broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
Topener committed Jan 13, 2025
1 parent 56441cb commit e452ae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/display-alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ In the example above, the alert will be displayed with the message `Successfully

In this guide, you learned how to display alerts in your application using the `useAlert` hook from the `@dhis2/app-runtime` library. You also learned how to handle different alert states and display dynamic alerts. You can now use this knowledge to display alerts in your application and provide feedback to your users.

You can read more about the `useAlert` hook in the [official documentation](/docs/hooks/useAlert), and find all properties to be used in the `AlertBar` component in the [AlertBar documentation](/docs/ui/components/alertbar#props).
You can read more about the `useAlert` hook in the [official documentation](/docs/app-runtime/hooks/useAlert), and find all properties to be used in the `AlertBar` component in the [AlertBar documentation](/docs/ui/components/alertbar#props).
2 changes: 1 addition & 1 deletion docs/hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ The DHIS2 Application Runtime supports [React Hooks](https://reactjs.org/docs/ho
- [**useAlert**](useAlert) - Add an alert to the central alerts-context
- [**useAlerts**](useAlerts) - Read the alerts from the alerts-context

While these Hooks are incredibly powerful and usually preferable, some [Components](../components/README) are also provided which conveniently wrap their corresponding Hooks.
While these Hooks are incredibly powerful and usually preferable, some [Components](/docs/app-runtime/components) are also provided which conveniently wrap their corresponding Hooks.

0 comments on commit e452ae4

Please sign in to comment.