From 882152b7a9fe266395b85a65efa892dea034a3f1 Mon Sep 17 00:00:00 2001 From: mayura-andrew Date: Thu, 10 Oct 2024 15:43:22 +0530 Subject: [PATCH] Refactor code: Remove Spinner component and update mentor feedback form UI --- .../MenteeCheckInFormModal.component.tsx | 15 ++++++++++----- .../MonthlyChecking/MenteeMonthlyChecking.tsx | 4 ++-- .../MentorFeedbackForm.component.tsx | 10 ++++++---- .../MonthlyChecking/MentorMonthlyChecking.tsx | 6 +++--- src/components/Spinner/Spinner.component.tsx | 6 ------ 5 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 src/components/Spinner/Spinner.component.tsx diff --git a/src/components/MonthlyChecking/MenteeCheckInFormModal.component.tsx b/src/components/MonthlyChecking/MenteeCheckInFormModal.component.tsx index a54e3916..e91384df 100644 --- a/src/components/MonthlyChecking/MenteeCheckInFormModal.component.tsx +++ b/src/components/MonthlyChecking/MenteeCheckInFormModal.component.tsx @@ -5,8 +5,8 @@ import { z } from 'zod'; import { MenteeCheckInSchema } from '../../schemas'; import { useSubmitCheckIn } from '../../hooks/useSubmitCheckIn'; import closeIcon from '../../assets/svg/closeIcon.svg'; -import Spinner from '../Spinner/Spinner.component'; import CloseIcon from '../../assets/svg/Icons/CloseIcon'; +import Loading from '../../assets/svg/Loading'; type MenteeCheckInForm = z.infer; @@ -221,11 +221,16 @@ const MonthlyCheckInModal: React.FC<{