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

@@ -31,7 +31,6 @@ import {
} from "rxjs"
import {
distinctUntilKeyChanged,
finalize,
map,
switchMap,
tap,
@@ -177,7 +176,6 @@ export function mountCodeBlock(
return watchCodeBlock(el, options)
.pipe(
tap(internal$),
finalize(() => internal$.complete()),
map(state => ({ ref: el, ...state }))
)
}