chore: removed console.log

This commit is contained in:
Catalin Pit
2024-09-11 09:15:02 +03:00
parent ced583a525
commit 7ea7740b88
4 changed files with 35 additions and 33 deletions

View File

@ -199,7 +199,11 @@ export const AddSignersFormPartial = ({
});
};
/* TODO: Add self-signer to db on blur */
/*
The self-signer is automatically saved on blur
since the email input is focused after adding the self-signer.
When the user clicks outside the input, the self-signer is saved in the db.
*/
const onAddSelfSigner = () => {
if (emptySignerIndex !== -1) {
setValue(`signers.${emptySignerIndex}.name`, user?.name ?? '');

View File

@ -213,8 +213,6 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
try {
const currentSigner = form.getValues(`signers.${index}`);
console.log('currentSigner', currentSigner);
if (!currentSigner.email) {
return;
}