chore: lint

This commit is contained in:
karishmas6
2024-08-21 23:38:33 +05:30
parent a5db763295
commit dde5509ea5

View File

@@ -135,8 +135,8 @@ export const BrowserWindow = () => {
// Directly use the available attribute if only one option is present // Directly use the available attribute if only one option is present
const attribute = options[0].value; const attribute = options[0].value;
const data = attribute === 'href' ? highlighterData.elementInfo?.url || '' : const data = attribute === 'href' ? highlighterData.elementInfo?.url || '' :
attribute === 'src' ? highlighterData.elementInfo?.imageUrl || '' : attribute === 'src' ? highlighterData.elementInfo?.imageUrl || '' :
highlighterData.elementInfo?.innerText || ''; highlighterData.elementInfo?.innerText || '';
addTextStep('', data, { addTextStep('', data, {
selector: highlighterData.selector, selector: highlighterData.selector,