diff --git a/examples/basic/src/app.rs b/examples/basic/src/app.rs index 2b47708..13c45eb 100644 --- a/examples/basic/src/app.rs +++ b/examples/basic/src/app.rs @@ -28,6 +28,9 @@ pub fn App(cx: Scope) -> impl IntoView { } /> + + } /> diff --git a/examples/basic/src/pages/components.rs b/examples/basic/src/pages/components.rs index 57d856b..c429c10 100644 --- a/examples/basic/src/pages/components.rs +++ b/examples/basic/src/pages/components.rs @@ -36,6 +36,7 @@ pub fn ComponentsPage(cx: Scope) -> impl IntoView { +
diff --git a/examples/basic/src/pages/home.rs b/examples/basic/src/pages/home.rs index 76df5d0..2afd747 100644 --- a/examples/basic/src/pages/home.rs +++ b/examples/basic/src/pages/home.rs @@ -12,13 +12,6 @@ pub fn Home(cx: Scope) -> impl IntoView { provide_context(cx, theme); let (count, set_count) = create_signal(cx, 0.0); let (button_type, set_button_type) = create_signal(cx, ButtonType::TEXT); - - let count_string = create_memo(cx, move |_| { - count.get().to_string() - }); - let on_input = SignalSetter::map(cx, move |value: String| { - set_count.set(value.parse().unwrap()); - }); view! { cx,
-