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.props.onchange.call(path.to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
cx.render(rsx!(
|
cx.render(rsx!(&cx.props.children))
|
||||||
div { &cx.props.children }
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user