fix: clippy is happy

This commit is contained in:
Jonathan Kelley committed 2022-02-17 10:43:34 -05:00
1 parent d461ffc011
commit d095d8c407
2 files changed
+6 -11

No files matched your search

+4 -2
View File
@@ -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
View File
@@ -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 {