From f7a14690925f2c527db8fd9b2ade25f69e209fa1 Mon Sep 17 00:00:00 2001 From: Colin Toft Date: Sat, 24 Aug 2024 10:31:56 -0400 Subject: [PATCH] Clean up onboarding request page --- .../components/asp/requests/TitleSection.tsx | 55 +++++++------------ frontend/src/pages/OnboardingRequestsPage.tsx | 15 +---- 2 files changed, 22 insertions(+), 48 deletions(-) diff --git a/frontend/src/components/asp/requests/TitleSection.tsx b/frontend/src/components/asp/requests/TitleSection.tsx index 9d3cd5f5..58289e35 100644 --- a/frontend/src/components/asp/requests/TitleSection.tsx +++ b/frontend/src/components/asp/requests/TitleSection.tsx @@ -3,42 +3,29 @@ import React from "react"; interface TitleSectionProps { title: string; - description: string; } -const TitleSection = ({ - title, - description, -}: TitleSectionProps): React.ReactElement => ( -
- ( +
+ + - - {title} - - - - {description} - - -
- ); + {title} + +
+
+); export default TitleSection; diff --git a/frontend/src/pages/OnboardingRequestsPage.tsx b/frontend/src/pages/OnboardingRequestsPage.tsx index 741dd185..a8107e34 100644 --- a/frontend/src/pages/OnboardingRequestsPage.tsx +++ b/frontend/src/pages/OnboardingRequestsPage.tsx @@ -352,12 +352,6 @@ const ASPCard = ({ Number of Kids {onboardingRequest?.info?.roleInfo?.aspInfo?.numKids} - - - - Dietary Restrictions - TODO: ADD DIET HERE - )} {onboardingRequest?.status === OnboardingRequestStatuses.PENDING ? ( @@ -531,14 +525,7 @@ const OnboardingRequestsPage = (): React.ReactElement => { const getTitleSection = (): React.ReactElement => ( - +