formatting: run cargo fmt

This commit is contained in:
Jonathan Kelley 2022-01-03 01:20:05 -05:00
parent 5da0a0c97e
commit a95dead76d
4 changed files with 13 additions and 22 deletions

View file

@ -6,7 +6,6 @@
//!
//! https://dev.to/arctic_hen7/how-to-set-up-tailwind-css-with-yew-and-trunk-il9
use dioxus::prelude::*;
fn main() {
@ -86,8 +85,6 @@ pub fn app(cx: Scope) -> Element {
))
}
pub fn StacksIcon(cx: Scope) -> Element {
cx.render(rsx!(
svg {

View file

@ -1,6 +1,5 @@
use dioxus::prelude::*;
fn main() {
dioxus::desktop::launch(app);
}
@ -19,7 +18,6 @@ pub struct TodoItem {
pub contents: String,
}
pub fn app(cx: Scope<()>) -> Element {
let todos = use_state(&cx, || im_rc::HashMap::<u32, TodoItem>::default());
let filter = use_state(&cx, || FilterState::All);

View file

@ -66,7 +66,3 @@ harness = false
[[bench]]
name = "jsframework"
harness = false
[[example]]
name = "rows"
path = "./examples/rows.rs"