Skip to content

Commit 415e794

Browse files
committed
fix: fix 2025 edition speaker link
1 parent 98b1e6c commit 415e794

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/views/Speakers/Speakers.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,17 @@ import {
1717
StyledSpeakersSection,
1818
StyledWaveContainer,
1919
} from "./Speakers.style";
20-
import webData from "../../data/2024.json";
20+
import webData from "../../data/2025.json";
2121
import Button from "../../components/UI/Button";
2222
import { gaEventTracker } from "../../components/analytics/Analytics";
2323
import { useFetchSpeakers } from "../../hooks/useFetchSpeakers";
2424
import * as Sentry from "@sentry/react";
2525
import { ISpeaker } from "../../types/speakers";
2626

27-
const LessThanGreaterThan = (props: { width: number }) => (
27+
const LessThanGreaterThan = () => (
2828
<>
29-
{props.width > MOBILE_BREAKPOINT && (
30-
<>
31-
<StyledLessIcon src={LessThanBlueIcon} />
32-
<StyledMoreIcon src={MoreThanBlueIcon} />
33-
</>
34-
)}
29+
<StyledLessIcon src={LessThanBlueIcon} />
30+
<StyledMoreIcon src={MoreThanBlueIcon} />
3531
</>
3632
);
3733

@@ -69,7 +65,7 @@ const Speakers: FC<React.PropsWithChildren<unknown>> = () => {
6965
Technologies and in the JCP."
7066
color={Color.WHITE}
7167
/>
72-
<LessThanGreaterThan width={width} />
68+
{width > MOBILE_BREAKPOINT && <LessThanGreaterThan />}
7369
<SpeakersCardsContainer>
7470
{isLoading && <p>Loading...</p>}
7571
{isBetween(CFPStartDay, CFPEndDay) && (

0 commit comments

Comments
 (0)