Skip to content

Commit

Permalink
fix query subscriber updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Dec 6, 2024
1 parent f32f7b9 commit 404b9ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/stash/src/actions/subscribeQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ export function subscribeQuery<query extends Query>({
updates.push({ ...update, type: "enter" });
}
}

// Notify subscribers
subscribers.forEach((subscriber) => subscriber(updates));
}

// Notify subscribers
subscribers.forEach((subscriber) => subscriber(updates));
};

// Subscribe to each table's update stream and return the unsubscribers
Expand Down

0 comments on commit 404b9ae

Please sign in to comment.