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;
try {
boundary_effect = branch(() => {
snippet_fn();
});
boundary_effect = branch(snippet_fn);
} catch (error) {
handle_error(error, boundary, null, boundary.ctx);
}

Loading…
Cancel
Save