mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +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::*;
|
||||
|
||||
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