Skip to content

Commit 0c0fd47

Browse files
committed
more tweaks
1 parent 36e2469 commit 0c0fd47

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/svelte/src/internal/client/runtime.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,7 @@ function process_effects(effect, collected_effects) {
816816
current_effect.f ^= CLEAN;
817817
} else {
818818
try {
819-
// If the effect is dirty, then we need to update it, it might also turn inert
820-
// because of async work during calling check_dirtiness
821-
if (check_dirtiness(current_effect) && (current_effect.f & INERT) === 0) {
819+
if (check_dirtiness(current_effect)) {
822820
update_effect(current_effect);
823821
}
824822
} catch (error) {

0 commit comments

Comments
 (0)