Fixed double-complete errors after upgrading to RxJS 7.3

This commit is contained in:
squidfunk
2021-08-04 21:19:56 +02:00
parent 6ac55d485e
commit b07e466bec
25 changed files with 58 additions and 91 deletions

View File

@@ -30,7 +30,6 @@ import {
bufferCount,
distinctUntilChanged,
distinctUntilKeyChanged,
finalize,
map,
observeOn,
scan,
@@ -269,7 +268,6 @@ export function mountTableOfContents(
return watchTableOfContents(anchors, options)
.pipe(
tap(internal$),
finalize(() => internal$.complete()),
map(state => ({ ref: el, ...state }))
)
}