Skip to content

Commit

Permalink
Merge branch 'refactor/eliminate-batch' of github.com:pmndrs/jotai in…
Browse files Browse the repository at this point in the history
…to refactor/eliminate-batch
  • Loading branch information
dai-shi committed Jan 11, 2025
2 parents 037c27f + 2cf0a88 commit b3e3f65
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 @@ -469,7 +469,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 b3e3f65

Please sign in to comment.