Skip to content

Commit d291a79

Browse files
committed
tidy up
1 parent 5121595 commit d291a79

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class Batch {
173173
}
174174

175175
for (const root of root_effects) {
176-
this.#process_root(root);
176+
this.#traverse_effect_tree(root);
177177
}
178178

179179
// if we didn't start any new async work, and no async work
@@ -228,7 +228,7 @@ export class Batch {
228228
* them for later execution as appropriate
229229
* @param {Effect} root
230230
*/
231-
#process_root(root) {
231+
#traverse_effect_tree(root) {
232232
root.f ^= CLEAN;
233233

234234
var effect = root.first;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
MAYBE_DIRTY,
1111
STALE_REACTION,
1212
UNOWNED,
13-
DESTROYED,
1413
ASYNC
1514
} from '#client/constants';
1615
import {
@@ -27,7 +26,7 @@ import {
2726
import { equals, safe_equals } from './equality.js';
2827
import * as e from '../errors.js';
2928
import * as w from '../warnings.js';
30-
import { async_effect, destroy_effect, render_effect } from './effects.js';
29+
import { async_effect, destroy_effect } from './effects.js';
3130
import { inspect_effects, internal_set, set_inspect_effects, source } from './sources.js';
3231
import { get_stack } from '../dev/tracing.js';
3332
import { tracing_mode_flag } from '../../flags/index.js';

0 commit comments

Comments
 (0)