'e.g. Applying for Company XYZ, please help me to review!';
constADDITIONAL_INFO_PLACEHOLDER=`e.g. I’m applying for company XYZ. I have been resume-rejected by N companies that I have applied for. Please help me to review so company XYZ gives me an interview!`;
constFILE_UPLOAD_ERROR='Please upload a PDF file that is less than 3MB.';
constMAX_FILE_SIZE_LIMIT=3000000;
constFILE_UPLOAD_ERROR=`Please upload a PDF file that is less than ${FILE_SIZE_LIMIT_MB}MB.`;
typeIFormInput={
additionalInfo?: string;
experience: string;
file: File;
isChecked: boolean;
location: string;
role: string;
title: string;
@ -67,7 +69,11 @@ export default function SubmitResumeForm() {
const{url}=res.data;
awaitresumeCreateMutation.mutate({
...data,
additionalInfo: data.additionalInfo,
experience: data.experience,
location: data.location,
role: data.role,
title: data.title,
url,
});
router.push('/resumes');
@ -78,7 +84,7 @@ export default function SubmitResumeForm() {