From 29f78086d986c39bdcec1c1c85dc7d934ae25dca Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 14 Sep 2024 08:17:00 +0530 Subject: [PATCH] chore: lint --- src/components/organisms/RightSidePanel.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 88a2bb18..5b9d6b5c 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -42,9 +42,9 @@ export const RightSidePanel: React.FC = ({ 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 = ({ onFinishCapture return settings; }, [browserSteps, paginationType, limitType, customLimit]); - + const resetListState = useCallback(() => { setShowPaginationOptions(false);