From c8b1e4333758de1f26cad173c54372998de304e7 Mon Sep 17 00:00:00 2001 From: Keane Chan Date: Wed, 19 Oct 2022 21:56:02 +0800 Subject: [PATCH] [resumes][feat] misc updates (#397) * [resumes][feat] only load comments on initial fetch * [resumes][feat] update dropzone for form --- .../resumes/comments/ResumeCommentsList.tsx | 2 +- apps/portal/src/pages/resumes/submit.tsx | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx b/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx index 12e564a9..23f8ad02 100644 --- a/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx +++ b/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx @@ -68,7 +68,7 @@ export default function ResumeCommentsList({
{renderButton()} - {commentsQuery.isFetching ? ( + {commentsQuery.isLoading ? (
diff --git a/apps/portal/src/pages/resumes/submit.tsx b/apps/portal/src/pages/resumes/submit.tsx index dc97e95a..92a1c392 100644 --- a/apps/portal/src/pages/resumes/submit.tsx +++ b/apps/portal/src/pages/resumes/submit.tsx @@ -315,19 +315,19 @@ export default function SubmitResumeForm({ {resumeFile.name}

)} -
+