Compare commits

...

1 Commits

Author SHA1 Message Date
Greg Johnston
7ca36b5853 fix: stack overflow in with nested outlet (closes #452) 2023-02-03 10:07:46 -05:00

View File

@@ -27,7 +27,7 @@ pub fn Outlet(cx: Scope) -> impl IntoView {
prev_scope.dispose();
}
is_showing.set(Some((child.id(), child.cx())));
provide_context(child.cx(), child.clone());
provide_context(cx, child.clone());
set_outlet.set(Some(child.outlet(cx).into_view(cx)))
}
}