Skip to content

Commit

Permalink
Improved semantics when returning from switchMap
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 8, 2022
1 parent 1d1cf47 commit 366a5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/javascripts/components/search/result/index.ts
Expand Up @@ -143,7 +143,7 @@ export function mountSearchResult(
.pipe(
bufferCount(4),
zipWith(boundary$),
switchMap(([chunk]) => of(...chunk))
switchMap(([chunk]) => chunk)
)
))
)
Expand Down

0 comments on commit 366a5ea

Please sign in to comment.