Skip to content

Commit dd8a025

Browse files
committed
fix
1 parent 283f910 commit dd8a025

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/app/conf/2024/speakers/[id]/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { speakers, schedule } from "@/app/conf/2024/_data"
1212
import { ChevronLeftIcon } from "@/icons"
1313
import NextLink from "next/link"
1414
import { eventsColors } from "../../utils"
15+
import { filterCategories2024 } from '@/app/conf/_components/schedule/filter-categories'
1516

1617
type SpeakerProps = { params: { id: string } }
1718

@@ -47,7 +48,7 @@ export default function SpeakerPage({ params }: SpeakerProps) {
4748
.map(s => ({
4849
...s,
4950
speakers: s.speakers!.map(s =>
50-
speakers.find(speaker => speaker.username === s.username),
51+
speakers.find(speaker => speaker.username === s.username)!,
5152
),
5253
}))
5354

@@ -105,11 +106,11 @@ export default function SpeakerPage({ params }: SpeakerProps) {
105106
/>
106107
</div>
107108
<h1 className="conf-heading mb-10">Sessions</h1>
108-
{/* @ts-expect-error */}
109109
<SessionList
110+
showFilter={false}
111+
filterCategories={filterCategories2024}
110112
eventsColors={eventsColors}
111113
year="2024"
112-
showFilter={false}
113114
scheduleData={s}
114115
/>
115116
</div>

0 commit comments

Comments
 (0)