1
0
Denis Richartz 3 жил өмнө
parent
commit
b71cf6ed4a

+ 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))
 }