From a7a6645963b319e94f9655f031138135c5e6761d Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Thu, 11 Jan 2024 14:55:56 -0800 Subject: [PATCH] dont use magnanis for todomv --- examples/todomvc.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/todomvc.rs b/examples/todomvc.rs index f3cb59f09..d5e56dd1a 100644 --- a/examples/todomvc.rs +++ b/examples/todomvc.rs @@ -7,8 +7,6 @@ fn main() { dioxus_desktop::launch(app); } -const _STYLE: &str = manganis::mg!(file("./examples/assets/todomvc.css")); - #[derive(PartialEq, Eq, Clone, Copy)] pub enum FilterState { All, @@ -49,6 +47,7 @@ pub fn app(cx: Scope<()>) -> Element { cx.render(rsx! { section { class: "todoapp", + style { {include_str!("./assets/todomvc.css")} } TodoHeader { todos: todos } section { class: "main", if !todos.is_empty() {