mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 22:20:19 +00:00
Update packages/hooks/src/use_effect.rs
Co-authored-by: Marc Espín <mespinsanz@gmail.com>
This commit is contained in:
parent
83f7ef9a44
commit
7a459e15d8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ use crate::UseFutureDep;
|
|||
/// async move {
|
||||
/// let user = fetch_user(id).await;
|
||||
/// name.set(user.name);
|
||||
/// move || println!("Cleaning up from {}", id);
|
||||
/// move || println!("Cleaning up from {}", id)
|
||||
/// }
|
||||
/// });
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue