Update README

This commit is contained in:
Greg Johnston 2022-12-25 23:13:27 -05:00
parent 98e3f5a155
commit 0e437cac68
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
use leptos::*;
#[component]
pub fn SimpleCounter(cx: Scope, initial_value: i32) -> Element {
pub fn SimpleCounter(cx: Scope, initial_value: i32) -> impl IntoView {
// create a reactive signal with the initial value
let (value, set_value) = create_signal(cx, initial_value);