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 (
{