chore: format

This commit is contained in:
karishmas6
2024-08-09 09:26:29 +05:30
parent 07ea6327ff
commit 3efeed61ba

View File

@@ -48,7 +48,6 @@ export const BrowserWindow = () => {
const [listSelector, setListSelector] = useState<string | null>(null);
const [fields, setFields] = useState<Record<string, TextStep>>({});
const { socket } = useSocketStore();
const { width, height } = useBrowserDimensionsStore();
const { getText, getList } = useActionContext();
@@ -159,15 +158,12 @@ export const BrowserWindow = () => {
attribute: 'innerText'
}
};
//console.log('added new field:', newField)
setFields(prevFields => {
const updatedFields = {
...prevFields,
[newField.id]: newField
};
return updatedFields;
});
@@ -182,7 +178,6 @@ export const BrowserWindow = () => {
}
};
const handleAttributeSelection = (attribute: string) => {
if (selectedElement) {
let data = '';