remove unnecessary function wrapper

aa
Rich Harris 8 months ago
parent adb137579f
commit 6b5d6c05b9

@ -91,9 +91,7 @@ export function boundary(node, props, children) {
is_creating_fallback = true; is_creating_fallback = true;
try { try {
boundary_effect = branch(() => { boundary_effect = branch(snippet_fn);
snippet_fn();
});
} catch (error) { } catch (error) {
handle_error(error, boundary, null, boundary.ctx); handle_error(error, boundary, null, boundary.ctx);
} }

Loading…
Cancel
Save