Skip to content

Commit 8dc44ce

Browse files
committed
feat: replace 2024 paths
1 parent 8f5487d commit 8dc44ce

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/views/MeetingDetail/MeetingDetail.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ import {
2828
StyledVideoTagsContainer,
2929
} from "./Style.MeetingDetail";
3030
import {Link} from "react-router";
31-
import {
32-
ROUTE_2024_SPEAKER_DETAIL,
33-
ROUTE_2024_TALKS
34-
} from "../../constants/routes";
31+
import {ROUTE_SPEAKER_DETAIL, ROUTE_TALKS} from "../../constants/routes";
3532
import conferenceData from "../../data/2024.json";
3633
import {Tag} from "../../components/Tag/Tag";
3734
import styled from "styled-components";
@@ -237,7 +234,7 @@ const MeetingDetail: FC<React.PropsWithChildren<IMeetingDetailProps>> = ({
237234
/>
238235
</Suspense>
239236
<StyledName>
240-
<Link to={`${ROUTE_2024_SPEAKER_DETAIL}/${speaker.id}`}>
237+
<Link to={`${ROUTE_SPEAKER_DETAIL}/${speaker.id}`}>
241238
{speaker.fullName}
242239
</Link>
243240
</StyledName>
@@ -249,7 +246,7 @@ const MeetingDetail: FC<React.PropsWithChildren<IMeetingDetailProps>> = ({
249246

250247
<div>
251248
<Link
252-
to={ROUTE_2024_TALKS}
249+
to={ROUTE_TALKS}
253250
style={{
254251
color: Color.MAGENTA,
255252
fontWeight: "bold",

0 commit comments

Comments
 (0)