Fix panic in demo

This commit is contained in:
Jonathan Kelley committed 2024-01-23 16:45:58 -08:00
1 parent fc6912d4c0
commit c8e4c96762
1 file changed
-4
-4
View File
@@ -18,11 +18,7 @@ fn app() -> Element {
count += 1;
}
let val = running.read();
tokio::time::sleep(Duration::from_millis(400)).await;
println!("Running: {}", *val);
}
});