Skip to content

Commit b4be81c

Browse files
committed
undo accidental commit
1 parent 7a153ce commit b4be81c

File tree

1 file changed

+1
-4
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+1
-4
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import {
1111
RENDER_EFFECT,
1212
ROOT_EFFECT,
1313
USER_EFFECT,
14-
MAYBE_DIRTY,
15-
EFFECT_RAN
14+
MAYBE_DIRTY
1615
} from '#client/constants';
1716
import { async_mode_flag } from '../../flags/index.js';
1817
import { deferred, define_property } from '../../shared/utils.js';
@@ -600,7 +599,6 @@ function flush_queued_effects(effects) {
600599

601600
if ((effect.f & (DESTROYED | INERT)) === 0 && is_dirty(effect)) {
602601
var n = current_batch ? current_batch.current.size : 0;
603-
var ran = effect.f & EFFECT_RAN;
604602

605603
update_effect(effect);
606604

@@ -624,7 +622,6 @@ function flush_queued_effects(effects) {
624622
// if state is written in a user effect, abort and re-schedule, lest we run
625623
// effects that should be removed as a result of the state change
626624
if (
627-
// ran &&
628625
current_batch !== null &&
629626
current_batch.current.size > n &&
630627
(effect.f & USER_EFFECT) !== 0

0 commit comments

Comments
 (0)