Skip to content

Commit bb78bbd

Browse files
committed
handle null talk
1 parent e4de66c commit bb78bbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/pages/keynotes/[slug]/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ const KeynotePage = () => {
2020
const {
2121
data: {
2222
conference: {
23-
talk: {
24-
slidoUrl,
25-
},
23+
talk,
2624
keynote: {
2725
title,
2826
description,
@@ -42,6 +40,8 @@ const KeynotePage = () => {
4240
},
4341
});
4442

43+
const { slidoUrl } = talk || {};
44+
4545
const speakersName = speakers.map((speaker) => speaker.fullName).join(" & ");
4646

4747
return (

0 commit comments

Comments
 (0)