Denis Richartz 3 vuotta sitten
vanhempi
commit
b71cf6ed4a
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      packages/router/src/components/router.rs

+ 1 - 3
packages/router/src/components/router.rs

@@ -32,7 +32,5 @@ pub fn Router<'a>(cx: Scope<'a, RouterProps<'a>>) -> Element {
         cx.props.onchange.call(path.to_string());
     }
 
-    cx.render(rsx!(
-        &cx.props.children
-    ))
+    cx.render(rsx!(&cx.props.children))
 }