Merge pull request #602 from iagafonov/patch-1

This commit is contained in:
Greg Johnston 2023-03-01 14:26:49 -05:00 committed by GitHub
commit ceb7bd398d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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> })
}
```