Skip to content

Commit 7cc0374

Browse files
committed
fix: remove shouldFocus option from setError in ActionConfirmModal
1 parent 36155bd commit 7cc0374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/client/views/account/profile/ActionConfirmModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const ActionConfirmModal = ({ isPassword, onConfirm, onCancel }: ActionConfirmMo
3030
await onConfirm(credential);
3131
} catch (error: any) {
3232
if (error.errorType === 'error-invalid-password') {
33-
setError('credential', { message: t('Invalid_password') }, { shouldFocus: true });
33+
setError('credential', { message: t('Invalid_password') });
3434
}
3535
}
3636
};

0 commit comments

Comments
 (0)