dont use magnanis for todomv

This commit is contained in:
Jonathan Kelley committed 2024-01-11 14:55:56 -08:00
1 parent 4f077ec664
commit a7a6645963
1 file changed
+1 -2
+1 -2
View File
@@ -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() {