mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 05:53:03 -04:00
Removed unnnessary share operator
This commit is contained in:
@@ -33,7 +33,6 @@ import {
|
||||
distinctUntilKeyChanged,
|
||||
finalize,
|
||||
map,
|
||||
share,
|
||||
switchMap,
|
||||
tap,
|
||||
withLatestFrom
|
||||
@@ -118,8 +117,7 @@ export function watchCodeBlock(
|
||||
)
|
||||
}
|
||||
return NEVER
|
||||
}),
|
||||
share()
|
||||
})
|
||||
)
|
||||
|
||||
/* Check overflow on resize and tab change */
|
||||
|
||||
@@ -145,7 +145,7 @@ const control$ = merge(
|
||||
...getComponentElements("dialog")
|
||||
.map(el => mountDialog(el, { alert$ })),
|
||||
|
||||
/* Header */
|
||||
/* Header */
|
||||
...getComponentElements("header")
|
||||
.map(el => mountHeader(el, { viewport$, header$, main$ })),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user