File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
packages/svelte/src/internal/client/reactivity Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ import {
11
11
RENDER_EFFECT ,
12
12
ROOT_EFFECT ,
13
13
USER_EFFECT ,
14
- MAYBE_DIRTY ,
15
- EFFECT_RAN
14
+ MAYBE_DIRTY
16
15
} from '#client/constants' ;
17
16
import { async_mode_flag } from '../../flags/index.js' ;
18
17
import { deferred , define_property } from '../../shared/utils.js' ;
@@ -600,7 +599,6 @@ function flush_queued_effects(effects) {
600
599
601
600
if ( ( effect . f & ( DESTROYED | INERT ) ) === 0 && is_dirty ( effect ) ) {
602
601
var n = current_batch ? current_batch . current . size : 0 ;
603
- var ran = effect . f & EFFECT_RAN ;
604
602
605
603
update_effect ( effect ) ;
606
604
@@ -624,7 +622,6 @@ function flush_queued_effects(effects) {
624
622
// if state is written in a user effect, abort and re-schedule, lest we run
625
623
// effects that should be removed as a result of the state change
626
624
if (
627
- // ran &&
628
625
current_batch !== null &&
629
626
current_batch . current . size > n &&
630
627
( effect . f & USER_EFFECT ) !== 0
You can’t perform that action at this time.
0 commit comments