fix: show confirm error

This commit is contained in:
karishmas6
2024-09-21 18:21:49 +05:30
parent 5ec0dd146c
commit dc9957d72f

View File

@@ -118,7 +118,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const stopCaptureAndEmitGetTextSettings = useCallback(() => {
const hasUnconfirmedTextSteps = browserSteps.some(step => step.type === 'text' && !confirmedTextSteps[step.id]);
if (hasUnconfirmedTextSteps) {
notify('error', 'Please confirm no labels are empty');
notify('error', 'Please confirm all text fields');
return;
}
stopGetText();