Skip to content

Commit

Permalink
Update resolve_data.ts
Browse files Browse the repository at this point in the history
changed length property of array to size of set
  • Loading branch information
leonelvsc committed Nov 15, 2023
1 parent 5a6d7ef commit 7fdeca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/src/operators/resolve_data.ts
Expand Up @@ -58,7 +58,7 @@ export function resolveData(
}),
tap(() => routesProcessed++),
takeLast(1),
mergeMap(_ => routesProcessed === routesNeedingDataUpdates.length ? of(t) : EMPTY),
mergeMap(_ => routesProcessed === routesNeedingDataUpdates.size ? of(t) : EMPTY),
);
});
}
Expand Down

0 comments on commit 7fdeca0

Please sign in to comment.