From 5d0c95e085a36c5409fb86e5720c2debb7075204 Mon Sep 17 00:00:00 2001 From: Keane Chan Date: Mon, 10 Oct 2022 09:34:34 +0800 Subject: [PATCH] [resumes][feat] disable inputs and buttons during form submission --- .../resumes/comments/CommentsForm.tsx | 19 +++++++++++++------ apps/portal/src/pages/resumes/submit.tsx | 10 +++++++++- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/apps/portal/src/components/resumes/comments/CommentsForm.tsx b/apps/portal/src/components/resumes/comments/CommentsForm.tsx index a14f9e3e..9a3f50bd 100644 --- a/apps/portal/src/components/resumes/comments/CommentsForm.tsx +++ b/apps/portal/src/components/resumes/comments/CommentsForm.tsx @@ -88,35 +88,40 @@ export default function CommentsForm({ onSubmit={handleSubmit(onSubmit)}>