chore: lint
This commit is contained in:
@@ -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<React.RefObject<HTMLCanvasElement> | undefined>(undefined);
|
||||
const [screenShot, setScreenShot] = useState<string>("");
|
||||
@@ -47,7 +45,6 @@ export const BrowserWindow = () => {
|
||||
const [attributeOptions, setAttributeOptions] = useState<AttributeOption[]>([]);
|
||||
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 (
|
||||
<div onClick={handleClick}>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user