From 57aa9ef3ef9d934afc6e63013758ecee301e48cd Mon Sep 17 00:00:00 2001 From: Tacio Medeiros Date: Thu, 5 Oct 2023 13:08:11 -0300 Subject: [PATCH] fix: fixing speakers --- src/components/speakers-section/speakers-section.tsx | 3 +-- src/components/sponsors-section/sponsors-section.tsx | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/speakers-section/speakers-section.tsx b/src/components/speakers-section/speakers-section.tsx index d4b1d29..daf0842 100644 --- a/src/components/speakers-section/speakers-section.tsx +++ b/src/components/speakers-section/speakers-section.tsx @@ -70,8 +70,7 @@ const SpeakersSection: React.FC = ({ speakers }) => { ); const renderSpeakers = (): ReactNode => { - return - (<> + return (<>
= = ({ sponsors }) => { const mapSponsorCard = (sponsor: Sponsor, isStaff: boolean) => { if (sponsor.logo) return () - return } const mapSponsorLevel = (sponsorLevel: SponsorLevel, isStaff: boolean) => { @@ -66,7 +65,6 @@ const SponsorsSection: React.FC = ({ sponsors }) => {
{SPONSORS_LIST.map((el) => { - if (sponsors != null && sponsors[el] != null) return mapSponsorLevel(sponsors[el], el === "staff") return <>