From 8da1326a2b4e7863feb45aba4c49ab687e35d066 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Mon, 2 Oct 2023 11:52:28 +0200 Subject: [PATCH] docs: fixed small error --- website/docs/concepts/suspense.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/concepts/suspense.mdx b/website/docs/concepts/suspense.mdx index efd8d1e566c..a467513028e 100644 --- a/website/docs/concepts/suspense.mdx +++ b/website/docs/concepts/suspense.mdx @@ -81,7 +81,7 @@ fn use_user() -> SuspensionResult { #### Note on implementing suspending hooks [`Suspension::new`](https://docs.rs/yew/latest/yew/suspense/struct.Suspension.html#method.new) returns 2 values: the suspension context itself, and a suspension handle. -The latter is the one responsible for signaling when to re-render the suspended components, it provides 2 interchangable ways to do so: +The latter is the one responsible for signaling when to re-render the suspended components, it provides 2 interchangeable ways to do so: 1. Calling its [`resume`](https://docs.rs/yew/latest/yew/suspense/struct.SuspensionHandle.html#method.resume) method. 2. Dropping the handle.