mirror of
https://github.com/re-rxjs/react-rxjs.git
synced 2025-12-08 18:01:51 +00:00
fix combineStates tests
This commit is contained in:
parent
1c3cc752b7
commit
1254951e7e
@ -66,9 +66,10 @@ export const combineStates = <States extends StringRecord<StateNode<any>>>(
|
||||
}
|
||||
|
||||
const isCurrentlyActive = instance.inactiveStates === 0
|
||||
const isLoaded = Object.values(instance.activeStates).every((v) => v)
|
||||
const isLoaded = instance.emptyStates === 0
|
||||
if (
|
||||
isCurrentlyActive !== instance.latestIsActive ||
|
||||
isLoaded ||
|
||||
isLoaded !== instance.latestIsLoaded
|
||||
) {
|
||||
instance.latestIsActive = isCurrentlyActive
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user