fix compilation
This commit is contained in:
1 parent
bcc2da4b42
commit
f6acaba061
8 files changed
+113
-112
No files matched your search
@@ -286,7 +286,8 @@ fn default_handler<'a>(error: CapturedError) -> LazyNodes<'a, 'a> {
|
||||
attr_paths: &[],
|
||||
};
|
||||
VNode {
|
||||
parent: None,
|
||||
parent: Default::default(),
|
||||
stable_id: Default::default(),
|
||||
key: None,
|
||||
template: std::cell::Cell::new(TEMPLATE),
|
||||
root_ids: bumpalo::collections::Vec::with_capacity_in(1usize, __cx.bump()).into(),
|
||||
@@ -471,12 +472,13 @@ pub fn ErrorBoundary<'a>(cx: Scope<'a, ErrorBoundaryProps<'a>>) -> Element {
|
||||
attr_paths: &[],
|
||||
};
|
||||
VNode {
|
||||
parent: None,
|
||||
parent: Default::default(),
|
||||
stable_id: Default::default(),
|
||||
key: None,
|
||||
template: std::cell::Cell::new(TEMPLATE),
|
||||
root_ids: bumpalo::collections::Vec::with_capacity_in(1usize, __cx.bump()).into(),
|
||||
dynamic_nodes: __cx.bump().alloc([{
|
||||
let ___nodes = (&cx.props.children).into_vnode(__cx);
|
||||
let ___nodes = (&cx.props.children).into_dyn_node(__cx);
|
||||
___nodes
|
||||
}]),
|
||||
dynamic_attrs: __cx.bump().alloc([]),
|
||||
|
||||
Reference in new issue
Block a user