Skip to content

Commit 176a10f

Browse files
committed
lint
1 parent 7a1cbdd commit 176a10f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runner/src/cell.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ export class CellImpl<T> implements ICell<T>, IStreamable<T> {
586586

587587
return new Promise((resolve) => {
588588
let result: Readonly<T>;
589-
let cancel: Cancel | undefined;
590589

591590
const action: Action = (tx) => {
592591
// Read the value inside the effect - this ensures dependencies are pulled
@@ -600,7 +599,7 @@ export class CellImpl<T> implements ICell<T>, IStreamable<T> {
600599
tx.commit();
601600

602601
// Subscribe as an effect with scheduleImmediately so it runs in the next cycle
603-
cancel = this.runtime.scheduler.subscribe(action, log, {
602+
const cancel = this.runtime.scheduler.subscribe(action, log, {
604603
isEffect: true,
605604
scheduleImmediately: true,
606605
});

0 commit comments

Comments
 (0)