Skip to content

Commit

Permalink
Fix bug sending wrong correspondenceid
Browse files Browse the repository at this point in the history
  • Loading branch information
milosdes committed Aug 20, 2024
1 parent 9838753 commit afaf39b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const ContactApplicant = ({
setFiles([]);
setEditorValue("");
setDraftCorrespondence({});
setCorrespondenceId(null);
setSelectedEmails([]);
setCurrentTemplate(0);
}
Expand Down Expand Up @@ -585,7 +586,7 @@ export const ContactApplicant = ({



const [correspondenceId, setCorrespondenceId] = useState(0);
const [correspondenceId, setCorrespondenceId] = useState(null);

const editDraft = async (i : any) => {
setEditMode(true);
Expand Down

0 comments on commit afaf39b

Please sign in to comment.