fix: missing braces error

This commit is contained in:
Rohit Rajan
2025-12-05 11:59:53 +05:30
parent 0c9f17c51c
commit 203589a260

View File

@@ -646,7 +646,6 @@ export const BrowserWindow = () => {
attribute: 'href', attribute: 'href',
tag: 'A', tag: 'A',
isShadow: anchorParent.getRootNode() instanceof ShadowRoot, isShadow: anchorParent.getRootNode() instanceof ShadowRoot,
fallbackSelector: generateFallbackSelector(anchorParent as HTMLElement)
} }
} }
}); });
@@ -654,6 +653,7 @@ export const BrowserWindow = () => {
} }
} }
} }
}
} catch (error) { } catch (error) {
console.warn(`Failed to process child selector ${selector}:`, error); console.warn(`Failed to process child selector ${selector}:`, error);
} }