fix: remove redundant socket emission for getList

This commit is contained in:
karishmas6
2024-09-09 03:18:13 +05:30
parent 041332edfa
commit 1712c121b9

View File

@@ -112,7 +112,6 @@ export const BrowserWindow = () => {
const highlighterHandler = useCallback((data: { rect: DOMRect, selector: string, elementInfo: ElementInfo | null, childSelectors?: string[] }) => {
if (getList === true) {
socket?.emit('setGetList', { getList: true });
if (listSelector) {
socket?.emit('listSelector', { selector: listSelector });
if (paginationMode) {