Skip to content

Commit

Permalink
Update src/vanilla/store.ts
Browse files Browse the repository at this point in the history
Co-authored-by: David Maskasky <[email protected]>
  • Loading branch information
dai-shi and dmaskasky authored Jan 10, 2025
1 parent b22cc72 commit 2cf0a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanilla/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ const buildStore = (...storeArgs: StoreArgs): Store => {
visiting.add(a)
// Push unvisited dependents onto the stack
for (const [d, s] of getMountedOrPendingDependents(aState)) {
if (a !== d && !visiting.has(d)) {
if (!visiting.has(d)) {
stack.push([d, s])
}
}
Expand Down

0 comments on commit 2cf0a88

Please sign in to comment.