parent
fa7ab0a7f7
commit
5f4053967c
@ -178,11 +178,7 @@ export function trigger(
|
||||
const effects = new Set<ReactiveEffect>()
|
||||
const add = (effectsToAdd: Set<ReactiveEffect> | undefined) => {
|
||||
if (effectsToAdd) {
|
||||
effectsToAdd.forEach(effect => {
|
||||
if (effect !== activeEffect) {
|
||||
effects.add(effect)
|
||||
}
|
||||
})
|
||||
effectsToAdd.forEach(effect => effects.add(effect))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user