Merge pull request #258 from HansTrashy/remove-router-div
This commit is contained in:
1 file changed
+1
-3
@@ -32,7 +32,5 @@ pub fn Router<'a>(cx: Scope<'a, RouterProps<'a>>) -> Element {
|
||||
cx.props.onchange.call(path.to_string());
|
||||
}
|
||||
|
||||
cx.render(rsx!(
|
||||
div { &cx.props.children }
|
||||
))
|
||||
cx.render(rsx!(&cx.props.children))
|
||||
}
|
||||
Reference in new issue
Block a user