chore: lint

This commit is contained in:
karishmas6
2024-08-08 06:29:59 +05:30
parent 0cda60717a
commit cc17935d4b

View File

@@ -84,9 +84,9 @@ export const BrowserWindow = () => {
}, [screenShot, canvasRef, socket, screencastHandler]);
const highlighterHandler = useCallback((data: { rect: DOMRect, selector: string, elementInfo: ElementInfo | null }) => {
if (getList === true) {
socket?.emit('setGetList', { getList: true });
}
if (getList === true) {
socket?.emit('setGetList', { getList: true });
}
setHighlighterData(data);
}, [highlighterData, getList, socket]);