From e325feb1feb3e8efab75117b3a89a908994a9a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Esp=C3=ADn?= Date: Sun, 13 Aug 2023 11:29:45 +0200 Subject: [PATCH] fix: Update `create your own hook` link --- docs-src/0.4/en/reference/hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-src/0.4/en/reference/hooks.md b/docs-src/0.4/en/reference/hooks.md index 93646e4c1..35b39021e 100644 --- a/docs-src/0.4/en/reference/hooks.md +++ b/docs-src/0.4/en/reference/hooks.md @@ -4,7 +4,7 @@ So far our components have had no state like a normal rust functions. However, i Hooks allow us to create state in our components. Hooks are Rust functions that take a reference to [`ScopeState`](https://docs.rs/dioxus/latest/dioxus/prelude/struct.ScopeState.html) (in a component, you can pass `cx`), and provide you with functionality and state. -Dioxus provides many built in hooks, but if those hooks don't fit your specific use case, you also can [create your own hook](../../cookbook/state/custom_hooks/index.md) +Dioxus provides many built in hooks, but if those hooks don't fit your specific use case, you also can [create your own hook](../cookbook/state/custom_hooks/index.md) ## use_state Hook