mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-14 16:37:14 +00:00
Merge pull request #258 from HansTrashy/remove-router-div
This commit is contained in:
commit
edabb68731
1 changed files with 1 additions and 3 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue