chore: make warnings go away

This commit is contained in:
Jonathan Kelley committed 2022-12-05 14:18:28 -08:00
1 parent e22923eb2d
commit 99a818996e
2 files changed
+6 -8

No files matched your search

+3 -5
View File
@@ -1,6 +1,4 @@
use std::rc::Rc;
use dioxus_core::{prelude::EventHandler, ScopeState};
use dioxus_core::ScopeState;
use std::future::Future;
#[macro_export]
@@ -30,8 +28,8 @@ where
move |evt| cx.spawn(hook(evt))
}
fn it_works(cx: &ScopeState) {
let p = use_callback(cx, || {
fn _it_works(cx: &ScopeState) {
let _p = use_callback(cx, || {
|()| async {
//
}