fix: clippy is happy
This commit is contained in:
1 parent
d461ffc011
commit
d095d8c407
2 files changed
+6
-11
No files matched your search
@@ -1,8 +1,10 @@
|
||||
use std::{future::Future, rc::Rc};
|
||||
#![allow(clippy::all, unused)]
|
||||
|
||||
use std::rc::Rc;
|
||||
|
||||
use dioxus_core::prelude::*;
|
||||
|
||||
use crate::{Atom, AtomRoot, Readable, Writable};
|
||||
use crate::{AtomRoot, Readable, Writable};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct CallbackApi {
|
||||
|
||||
+2
-9
@@ -26,15 +26,8 @@ struct LeafProps {
|
||||
}
|
||||
|
||||
fn Leaf(cx: Scope<LeafProps>) -> Element {
|
||||
let user = use_read(&cx, TITLE);
|
||||
let user = use_read(&cx, USERS);
|
||||
|
||||
use_coroutine(&cx, || {
|
||||
//
|
||||
async move {
|
||||
//
|
||||
}
|
||||
});
|
||||
let _user = use_read(&cx, TITLE);
|
||||
let _user = use_read(&cx, USERS);
|
||||
|
||||
rsx!(cx, div {
|
||||
button {
|
||||
|
||||
Reference in new issue
Block a user