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