Skip to content

Commit 29fda73

Browse files
committed
Remove placeholder video
1 parent d458325 commit 29fda73

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/app/conf/2025/_videos.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
export const videos: {
22
id: string
33
title: string
4-
}[] = [
5-
// temporary
6-
{
7-
id: "fA81OFu9BVY",
8-
title: `Top 10 GraphQL Security Checks for Every Developer - Ankita Gupta, Ankush Jain - Akto.io`,
9-
},
10-
]
4+
}[] = []

src/app/conf/2025/schedule/[id]/session-video.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export function SessionVideo({ video, className }: SessionVideoProps) {
2626
}
2727

2828
export function findVideo(event: ScheduleSession, eventTitle: string) {
29+
if (videos.length === 0) {
30+
return null
31+
}
32+
2933
const result = findBestMatch(
3034
`${eventTitle} ${event.speakers!.map(e => e.name).join(" ")}`,
3135
videos.map(e => e.title),

0 commit comments

Comments
 (0)