From e452ae43b192a3595f46248d37fd33eac909c643 Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Mon, 13 Jan 2025 01:37:58 -0800 Subject: [PATCH] docs(fix): broken links --- docs/guides/display-alerts.md | 2 +- docs/hooks/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/display-alerts.md b/docs/guides/display-alerts.md index f73aee6e..7ddabe64 100644 --- a/docs/guides/display-alerts.md +++ b/docs/guides/display-alerts.md @@ -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). diff --git a/docs/hooks/README.md b/docs/hooks/README.md index 444922fd..5596cfd2 100644 --- a/docs/hooks/README.md +++ b/docs/hooks/README.md @@ -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.