fix fermi example

This commit is contained in:
Evan Almloff 2023-01-09 21:33:00 -06:00
parent cb7e4f3f27
commit 4621272f4c

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! {