mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
make clippy happy
This commit is contained in:
parent
69a347a551
commit
c6d4398e36
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@ fn app(cx: Scope) -> Element {
|
|||
|
||||
render! {
|
||||
(0..count).map(|_| rsx!{
|
||||
Comp {}
|
||||
drop_child {}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn Comp(cx: Scope) -> Element {
|
||||
fn drop_child(cx: Scope) -> Element {
|
||||
cx.use_hook(|| Drops);
|
||||
render! {
|
||||
div{}
|
||||
|
|
Loading…
Reference in a new issue