pull/15844/head
Rich Harris 2 months ago
parent 99fa11b4fc
commit 0244319608

@ -189,8 +189,7 @@ export function user_effect(fn) {
active_reaction === null &&
active_effect !== null &&
(active_effect.f & BRANCH_EFFECT) !== 0 &&
component_context !== null &&
!component_context.m;
(active_effect.f & EFFECT_RAN) === 0;
if (DEV) {
define_property(fn, 'name', {

Loading…
Cancel
Save