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