From 195d3a74bad169016d74909f9d1d6ada0d8bd9e1 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 4 Aug 2024 03:23:02 +0530 Subject: [PATCH] chore: lint --- src/components/organisms/BrowserWindow.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 41c422ed..070dd17c 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -45,7 +45,7 @@ export const BrowserWindow = () => { const [highlighterData, setHighlighterData] = useState<{ rect: DOMRect, selector: string, elementInfo: ElementInfo | null; } | null>(null); const [showAttributeModal, setShowAttributeModal] = useState(false); const [attributeOptions, setAttributeOptions] = useState([]); - const [selectedElement, setSelectedElement] = useState<{selector: string, info: ElementInfo | null} | null>(null); + const [selectedElement, setSelectedElement] = useState<{ selector: string, info: ElementInfo | null } | null>(null); const { socket } = useSocketStore(); @@ -164,17 +164,17 @@ export const BrowserWindow = () => { getText === true ? ( {}} + onClose={() => { }} canBeClosed={false} >
-

Select Attribute

- {attributeOptions.map((option) => ( - - ))} -
+

Select Attribute

+ {attributeOptions.map((option) => ( + + ))} +
) : null