diff --git a/src/pages/Contacts/CurrentOfficeBearers.js b/src/pages/Contacts/CurrentOfficeBearers.js index 1d195b97..9c758926 100755 --- a/src/pages/Contacts/CurrentOfficeBearers.js +++ b/src/pages/Contacts/CurrentOfficeBearers.js @@ -13,11 +13,10 @@ export default function CurrentOfficeBearers() { const VicePresident = contactsData.data.find( (contact) => contact.Post === "Vice President" ); - const generalSecretaries = contactsData.data.filter( - (element) => element.Category === "General Secretary" - ); - const nominatedPost = contactsData.data.filter( - (element) => element.Category === "Nominated" + const thirdYearCouncil = contactsData.data.filter( + (element) => + element.Category === "General Secretary" || + element.Category === "Nominated" ); const secretaries = contactsData.data.filter( (element) => element.Category === "Secretary" @@ -27,7 +26,6 @@ export default function CurrentOfficeBearers() { <>