From a6d1eb2ed27f3d14eac08bd6370037fa25077fcd Mon Sep 17 00:00:00 2001 From: Kevin Monisit Date: Mon, 26 Feb 2024 12:34:47 -0500 Subject: [PATCH] resume upload patch --- app/dashboard/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index 882239d..76f2836 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -68,11 +68,13 @@ export default function Dashboard() { if (!pdf || pdf === undefined) { alert("There was an error uploading your resume. Please try again. If the problem persists, please email rnd@hackru.org"); + } else { + await UploadResume(resumeData); } resumeData.set('file', pdf as File); - await UploadResume(resumeData); + await UpdateSelf(otherData); }