Linting fix

This commit is contained in:
Jackson Harper 2023-02-16 17:35:51 +08:00
parent 3d275dd559
commit 40567a6ed9

View file

@ -11,7 +11,7 @@ const ANCHOR_ELEMENTS_BLOCKED_ATTRIBUTES = [
export const getTopOmnivoreAnchorElement = (
articleContentElement: HTMLDivElement
): string | undefined => {
var lastVisibleAnchor: Element | undefined = undefined
let lastVisibleAnchor: Element | undefined = undefined
const anchors = Array.from(
articleContentElement.querySelectorAll(`[data-omnivore-anchor-idx]`)
).reverse()