Merge pull request #258 from HansTrashy/remove-router-div

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2022-02-16 12:09:50 -05:00
commit edabb68731
1 file changed
+1 -3
+1 -3
View File
@@ -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))
}