From cd7c8af20f8f82490b96ce5e6eb287645a59e28f Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 4 Aug 2024 03:42:21 +0530 Subject: [PATCH] chore: lint --- src/components/organisms/BrowserWindow.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index df7fe5cf..8359ba91 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -20,7 +20,6 @@ interface AttributeOption { value: string; } - const getAttributeOptions = (tagName: string): AttributeOption[] => { switch (tagName.toLowerCase()) { case 'a': @@ -38,7 +37,6 @@ const getAttributeOptions = (tagName: string): AttributeOption[] => { } }; - export const BrowserWindow = () => { const [canvasRef, setCanvasReference] = useState | undefined>(undefined); const [screenShot, setScreenShot] = useState(""); @@ -47,7 +45,6 @@ export const BrowserWindow = () => { const [attributeOptions, setAttributeOptions] = useState([]); const [selectedElement, setSelectedElement] = useState<{ selector: string, info: ElementInfo | null } | null>(null); - const { socket } = useSocketStore(); const { width, height } = useBrowserDimensionsStore(); const { getText, getScreenshot } = useActionContext(); @@ -156,8 +153,6 @@ export const BrowserWindow = () => { setShowAttributeModal(false); }; - - return (
{