diff --git a/packages/signals/examples/option.rs b/packages/signals/examples/option.rs index 10f41034c..c0d1746b7 100644 --- a/packages/signals/examples/option.rs +++ b/packages/signals/examples/option.rs @@ -25,7 +25,7 @@ fn App(cx: Scope) -> Element { }, "Change" } - if let Some(item) = signal.as_mapped_ref(){ + if let Some(item) = signal.as_mapped_ref() { render! { Child { signal: item } }