mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Update README.md
This commit is contained in:
parent
66134309f3
commit
84a40d472b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ pub fn SimpleCounter(cx: Scope, initial_value: i32) -> Element {
|
|||
|
||||
// Easy to use with Trunk (trunkrs.dev) or with a simple wasm-bindgen setup
|
||||
pub fn main() {
|
||||
mount_to_body(|cx| view! { cx, <SimpleCounter initial_value=3> })
|
||||
mount_to_body(|cx| view! { cx, <SimpleCounter initial_value=3 /> })
|
||||
}
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue