chore: lint

This commit is contained in:
karishmas6
2024-09-13 23:55:22 +05:30
parent f37a4b5311
commit 5cab3dfaca

View File

@@ -91,13 +91,13 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const handleListTextFieldDiscard = (listId: number, fieldKey: string) => {
removeListTextField(listId, fieldKey);
setConfirmedListTextFields(prev => ({
...prev,
[listId]: {
...(prev[listId] || {}),
[fieldKey]: false
}
...prev,
[listId]: {
...(prev[listId] || {}),
[fieldKey]: false
}
}));
};
};
const getTextSettingsObject = useCallback(() => {
const settings: Record<string, { selector: string; tag?: string;[key: string]: any }> = {};