From 26cd5d881abbf509a8babd4cb9a88cc1eb7680bd Mon Sep 17 00:00:00 2001 From: Anderson T Date: Fri, 29 Nov 2024 16:08:21 -0800 Subject: [PATCH] move a header from outside component to inside component --- frontend/src/app/about/AboutPage.tsx | 1 - frontend/src/app/about/ExecProfiles.tsx | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/about/AboutPage.tsx b/frontend/src/app/about/AboutPage.tsx index 5743fb7..999b6e5 100644 --- a/frontend/src/app/about/AboutPage.tsx +++ b/frontend/src/app/about/AboutPage.tsx @@ -15,7 +15,6 @@ export default function AboutPage() {

-

Our Executives:

{/* TODO: don't assume API always works. */} diff --git a/frontend/src/app/about/ExecProfiles.tsx b/frontend/src/app/about/ExecProfiles.tsx index d78e23b..c104e42 100644 --- a/frontend/src/app/about/ExecProfiles.tsx +++ b/frontend/src/app/about/ExecProfiles.tsx @@ -55,7 +55,7 @@ export default async function ExecProfiles() { {/* Block for current executives grouped by year */} {Object.keys(groupedCurrentExecutives).map(year => (
- {/*

Current Executives

*/} +

Current Executives:

{groupedCurrentExecutives[year].map((exec) => ( ( -
-

Retired Executives - {year}

+
+

Retired Executives - {year}:

{groupedRetiredExecutives[year].map((exec) => (