mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Untrack to avoid double-rendering <Outlet/>
This commit is contained in:
parent
498b5345d5
commit
aaac1d37ac
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pub fn Outlet(cx: Scope) -> Child {
|
|||
(move || {
|
||||
route.child().map(|child| {
|
||||
provide_context(child.cx(), child.clone());
|
||||
child.outlet()
|
||||
cx.untrack(move || child.outlet())
|
||||
})
|
||||
})
|
||||
.into_child(cx)
|
||||
|
|
Loading…
Reference in a new issue