mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-01 18:28:48 -04:00
Improved flow of observables/emissions
This commit is contained in:
@@ -92,7 +92,7 @@ export function mountHeader(
|
||||
): OperatorFunction<HTMLElement, Header> {
|
||||
return pipe(
|
||||
switchMap(el => {
|
||||
const header$ = watchHeader(el, { viewport$ })
|
||||
const header$ = watchHeader(el)
|
||||
|
||||
/* Compute whether the header should switch to page header */
|
||||
const type$ = useComponent("main")
|
||||
|
||||
Reference in New Issue
Block a user