Skip to content

Commit bf63b4a

Browse files
committed
fix(Schedule): correct schedule element ID and enable 2025 schedule data
1 parent 0de7af1 commit bf63b4a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/data/2025.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"linkedin": "https://www.linkedin.com/company/devbcn",
2424
"schedule": {
25-
"enabled": false
25+
"enabled": true
2626
},
2727
"sessionizeUrl": "https://sessionize.com/api/v2/xhudniix",
2828
"showCountdown": true,

src/views/Schedule/Schedule.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import MoreThanBlueWhiteIcon from "@assets/images/LessThanBlueWhiteIcon.svg";
66
import SectionWrapper from "@components/SectionWrapper/SectionWrapper";
77
import TitleSection from "@components/SectionTitle/TitleSection";
88
import { useWindowSize } from "react-use";
9-
import data from "@data/2024.json";
9+
import data from "@data/2025.json";
1010

1111
import * as Sentry from "@sentry/react";
1212
import { Link } from "react-router";
@@ -24,7 +24,7 @@ const Schedule: FC<React.PropsWithChildren<unknown>> = () => {
2424
fetch("https://sessionize.com/api/v2/kdiixcgx/view/GridSmart")
2525
.then((value) => value.text())
2626
.then((value) => {
27-
const sched = document.getElementById("#schedule");
27+
const sched = document.getElementById("schedule");
2828
if (sched !== null) {
2929
sched.innerHTML = value;
3030
}
@@ -63,7 +63,7 @@ const Schedule: FC<React.PropsWithChildren<unknown>> = () => {
6363
>
6464
📅 See Live schedule
6565
</Link>
66-
<div style={{ width: "100%", margin: "0 auto" }} id="#schedule">
66+
<div style={{ width: "100%", margin: "0 auto" }} id="schedule">
6767
&nbsp;
6868
</div>
6969
</>

0 commit comments

Comments
 (0)