chore: lint

This commit is contained in:
karishmas6
2024-09-14 08:17:00 +05:30
parent e9f7e6b41b
commit 29f78086d9

View File

@@ -42,9 +42,9 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const handleTextLabelChange = (id: number, label: string, listId?: number, fieldKey?: string) => {
if (listId !== undefined && fieldKey !== undefined) {
// Prevent editing if the field is confirmed
if (confirmedListTextFields[listId]?.[fieldKey]) {
return;
}
if (confirmedListTextFields[listId]?.[fieldKey]) {
return;
}
// This is a text field within a list step
updateListTextFieldLabel(listId, fieldKey, label);
} else {
@@ -166,7 +166,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
return settings;
}, [browserSteps, paginationType, limitType, customLimit]);
const resetListState = useCallback(() => {
setShowPaginationOptions(false);