mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
Fix clippy (#1532)
This commit is contained in:
parent
248d78fbfe
commit
95d8843d9d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ fn suspended_child(cx: Scope) -> Element {
|
|||
cx.spawn(async move {
|
||||
val += 1;
|
||||
});
|
||||
return cx.suspend()?;
|
||||
cx.suspend()?;
|
||||
}
|
||||
|
||||
render!("child")
|
||||
|
|
Loading…
Reference in a new issue