Merge pull request #743 from Demonthos/fix-femri-example

Fix Fermi example
This commit is contained in:
Jon Kelley 2023-01-10 16:39:23 -08:00 committed by GitHub
commit 641082c8b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ fn main() {
static NAME: Atom<String> = |_| "world".to_string();
fn app(cx: Scope) -> Element {
use_init_atom_root(&cx);
let name = use_read(cx, NAME);
cx.render(rsx! {