diff --git a/examples/counter/src/lib.rs b/examples/counter/src/lib.rs index 34a5a5ec8..bfe8ce7f9 100644 --- a/examples/counter/src/lib.rs +++ b/examples/counter/src/lib.rs @@ -5,7 +5,6 @@ pub fn simple_counter(cx: Scope) -> web_sys::Element { view! { cx,
-

"Here's the child"

"Value: " {move || value().to_string()} "!" @@ -13,14 +12,3 @@ pub fn simple_counter(cx: Scope) -> web_sys::Element {
} } - -#[component] -fn MyComponent(cx: Scope, children: Option Vec>>) -> Element { - view! { - cx, - -

"Here's the child you passed in: "

- -
- } -}