diff --git a/packages/reactivity/src/effect.ts b/packages/reactivity/src/effect.ts index fb17e575e1f..a4d087beade 100644 --- a/packages/reactivity/src/effect.ts +++ b/packages/reactivity/src/effect.ts @@ -178,11 +178,7 @@ export function trigger( const effects = new Set() const add = (effectsToAdd: Set | undefined) => { if (effectsToAdd) { - effectsToAdd.forEach(effect => { - if (effect !== activeEffect) { - effects.add(effect) - } - }) + effectsToAdd.forEach(effect => effects.add(effect)) } }