Feat: clean up code

This commit is contained in:
Jonathan Kelley committed 2021-02-24 01:32:50 -05:00
1 parent 5204862bc2
commit 83451372aa
16 files changed
+67 -72

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ use dioxus_core::prelude::*;
fn main() -> Result<(), ()> {
let p1 = Props { name: "bob".into() };
let mut vdom = VirtualDom::new_with_props(Example, p1);
let _vdom = VirtualDom::new_with_props(Example, p1);
// vdom.progress()?;
Ok(())
@@ -29,7 +29,7 @@ struct Props {
// // }
// }
static Example: FC<Props> = |ctx, props| {
static Example: FC<Props> = |ctx, _props| {
ctx.view(html! {
<div>
<h1> "hello world!" </h1>