chore: lint

This commit is contained in:
karishmas6
2024-08-10 05:06:43 +05:30
parent 38dbf5fba9
commit c712e7305c

View File

@@ -83,11 +83,11 @@ export const RightSidePanel = () => {
const getListSettingsObject = useCallback(() => {
const settings: Record<string, { listSelector: string; fields: Record<string, { selector: string; tag?: string; [key: string]: any }> }> = {};
const settings: Record<string, { listSelector: string; fields: Record<string, { selector: string; tag?: string;[key: string]: any }> }> = {};
browserSteps.forEach(step => {
if (step.type === 'list' && step.listSelector && Object.keys(step.fields).length > 0) {
const fields: Record<string, { selector: string; tag?: string; [key: string]: any }> = {};
const fields: Record<string, { selector: string; tag?: string;[key: string]: any }> = {};
Object.entries(step.fields).forEach(([label, field]) => {
if (field.selectorObj?.selector) {
fields[label] = {
@@ -108,7 +108,7 @@ export const RightSidePanel = () => {
console.log(`Setting LIST:`, settings)
return settings;
}, [browserSteps]);
}, [browserSteps]);
const stopCaptureAndEmitGetListSettings = useCallback(() => {