Skip to content

Commit c119a26

Browse files
committed
Update index.ts
1 parent 6e8452a commit c119a26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ function computedGetter<T>(this: Computed<T>): T {
198198
function signalGetterSetter<T>(this: Signal<T>, ...value: [T]): T | void {
199199
if (value.length) {
200200
if (this.currentValue !== (this.currentValue = value[0])) {
201-
const subs = this.subsTail;
202-
if (subs !== undefined) {
203-
propagate(subs);
201+
const subsTail = this.subsTail;
202+
if (subsTail !== undefined) {
203+
propagate(subsTail);
204204
if (!batchDepth) {
205205
processEffectNotifications();
206206
}

0 commit comments

Comments
 (0)