fix(theme): prevent TypeError when navigating to page without outline (#5329)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/5218/merge
Henrikh Kantuni 1 month ago committed by GitHub
parent cf973b20ef
commit 9376c58abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -100,7 +100,6 @@ export function useActiveAnchor(
onUnmounted(() => {
window.removeEventListener('scroll', onScroll)
container.value.removeEventListener('click', onClick)
})
function onClick(e: MouseEvent) {

Loading…
Cancel
Save