chore: cleanup console logs

This commit is contained in:
amhsirak
2025-01-02 21:19:36 +05:30
parent 5813ae4026
commit e91a3916a0

View File

@@ -119,9 +119,6 @@ export const BrowserWindow = () => {
const highlighterHandler = useCallback((data: { rect: DOMRect, selector: string, elementInfo: ElementInfo | null, childSelectors?: string[] }) => {
if (getList === true) {
if (listSelector) {
console.log("LIST SELEECTORRRRR: ", listSelector);
console.log("DATA SELEECTORRRRR: ", data.selector);
console.log("CHILDREEENN SELECORRRR: ", data.childSelectors);
socket?.emit('listSelector', { selector: listSelector });
const hasValidChildSelectors = Array.isArray(data.childSelectors) && data.childSelectors.length > 0;