mirror of
https://github.com/leptos-rs/leptos
synced 2024-09-20 14:32:00 +00:00
Merge pull request #602 from iagafonov/patch-1
This commit is contained in:
commit
ceb7bd398d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ And add a simple “Hello, world!” to your `main.rs`
|
||||||
use leptos::*;
|
use leptos::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
mount_to_body(|_cx| view! { cx, <p>"Hello, world!"</p> })
|
mount_to_body(|cx| view! { cx, <p>"Hello, world!"</p> })
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue