chore: lint

This commit is contained in:
karishmas6
2024-09-03 10:58:40 +05:30
parent f5b9b31fad
commit 7021aa3c0a

View File

@@ -141,12 +141,12 @@ export const BrowserWindow = () => {
clickY >= highlightRect.top &&
clickY <= highlightRect.bottom
) {
// Check if the selected element is one of the childSelectors (if applicable)
if (highlighterData.childSelectors && highlighterData.childSelectors.length > 0) {
if (!highlighterData.childSelectors.includes(highlighterData.selector)) {
return;
// Check if the selected element is one of the childSelectors (if applicable)
if (highlighterData.childSelectors && highlighterData.childSelectors.length > 0) {
if (!highlighterData.childSelectors.includes(highlighterData.selector)) {
return;
}
}
}
const options = getAttributeOptions(highlighterData.elementInfo?.tagName || '', highlighterData.elementInfo);