chore: lint

This commit is contained in:
karishmas6
2024-08-04 03:42:21 +05:30
parent 79b8ad9952
commit cd7c8af20f

View File

@@ -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}>
{