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