Update packages/hooks/src/use_effect.rs

Co-authored-by: Marc Espín <mespinsanz@gmail.com>
This commit is contained in:
ealmloff 2023-11-21 16:28:06 -06:00 committed by GitHub
parent 83f7ef9a44
commit 7a459e15d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
/// }
/// });
///