chore: -rm comments

This commit is contained in:
karishmas6
2024-09-21 16:51:02 +05:30
parent 918c79d71c
commit 7a4954e01a

View File

@@ -45,10 +45,8 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
if (confirmedListTextFields[listId]?.[fieldKey]) { if (confirmedListTextFields[listId]?.[fieldKey]) {
return; return;
} }
// This is a text field within a list step
updateListTextFieldLabel(listId, fieldKey, label); updateListTextFieldLabel(listId, fieldKey, label);
} else { } else {
// This is a standalone text step
setTextLabels(prevLabels => ({ ...prevLabels, [id]: label })); setTextLabels(prevLabels => ({ ...prevLabels, [id]: label }));
} }
if (!label.trim()) { if (!label.trim()) {