Skip to content

Commit 366a5ea

Browse files
committed
Improved semantics when returning from switchMap
1 parent 1d1cf47 commit 366a5ea

File tree

1 file changed

+1
-1
lines changed
  • src/assets/javascripts/components/search/result

1 file changed

+1
-1
lines changed

src/assets/javascripts/components/search/result/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function mountSearchResult(
143143
.pipe(
144144
bufferCount(4),
145145
zipWith(boundary$),
146-
switchMap(([chunk]) => of(...chunk))
146+
switchMap(([chunk]) => chunk)
147147
)
148148
))
149149
)

0 commit comments

Comments
 (0)