Skip to content

Commit

Permalink
Merge pull request #30 from gdg-uberlandia/fixing-speakers
Browse files Browse the repository at this point in the history
fix: fixing speakers
  • Loading branch information
taciomedeiros authored Oct 5, 2023
2 parents f4b1949 + 57aa9ef commit f81356b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/speakers-section/speakers-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ const SpeakersSection: React.FC<SpeakersSectionProps> = ({ speakers }) => {
);

const renderSpeakers = (): ReactNode => {
return
(<>
return (<>
<div className={styles.cards}>=
<Carousel
activeIndex={activeIndex}
Expand Down
2 changes: 0 additions & 2 deletions src/components/sponsors-section/sponsors-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const SponsorsSection: React.FC<SponsorsSectionProps> = ({ sponsors }) => {
const mapSponsorCard = (sponsor: Sponsor, isStaff: boolean) => {
if (sponsor.logo)
return (<Col key={sponsor.id}><SponsorCard {...sponsor} isStaff={isStaff}></SponsorCard></Col>)
return <Col></Col>
}

const mapSponsorLevel = (sponsorLevel: SponsorLevel, isStaff: boolean) => {
Expand Down Expand Up @@ -66,7 +65,6 @@ const SponsorsSection: React.FC<SponsorsSectionProps> = ({ sponsors }) => {
<Container fluid style={{ marginBottom: '100px', marginTop: '30px' }}>
<div id="sponsors">
{SPONSORS_LIST.map((el) => {

if (sponsors != null && sponsors[el] != null)
return mapSponsorLevel(sponsors[el], el === "staff")
return <></>
Expand Down

0 comments on commit f81356b

Please sign in to comment.