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 dioxus_core::prelude::*;
|
||||||
|
|
||||||
use crate::{Atom, AtomRoot, Readable, Writable};
|
use crate::{AtomRoot, Readable, Writable};
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct CallbackApi {
|
pub struct CallbackApi {
|
||||||
|
|||||||
+2
-9
@@ -26,15 +26,8 @@ struct LeafProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn Leaf(cx: Scope<LeafProps>) -> Element {
|
fn Leaf(cx: Scope<LeafProps>) -> Element {
|
||||||
let user = use_read(&cx, TITLE);
|
let _user = use_read(&cx, TITLE);
|
||||||
let user = use_read(&cx, USERS);
|
let _user = use_read(&cx, USERS);
|
||||||
|
|
||||||
use_coroutine(&cx, || {
|
|
||||||
//
|
|
||||||
async move {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
rsx!(cx, div {
|
rsx!(cx, div {
|
||||||
button {
|
button {
|
||||||
|
|||||||
Reference in new issue
Block a user