Skip to content

Commit 86194eb

Browse files
committed
Fix lint warning about let vs const
1 parent 47f90d0 commit 86194eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/internal/scheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const seen_callbacks = new Set();
3535
let flushidx = 0; // Do *not* move this inside the flush() function
3636
export function flush() {
3737

38-
let current_component = maybe_get_current_component();
38+
const current_component = maybe_get_current_component();
3939

4040
do {
4141
// first, call beforeUpdate functions

0 commit comments

Comments
 (0)