diff --git a/examples/readme.rs b/examples/readme.rs index cff996fc7..d29a24bdc 100644 --- a/examples/readme.rs +++ b/examples/readme.rs @@ -1,5 +1,3 @@ -use std::time::Duration; - use dioxus::prelude::*; fn main() { @@ -9,11 +7,6 @@ fn main() { fn app() -> Element { let mut count = use_signal(|| 0); - let g: ReadOnlySignal<(), UnsyncStorage> = - use_maybe_sync_selector_with_dependencies((&(count())), move |deps| { - println!("High-Five counter: {}", deps); - }); - rsx! { h1 { "High-Five counter: {count}" } button { onclick: move |_| count += 1, "Up high!" }