diff --git a/src/components/Page2.tsx b/src/components/Page2.tsx index 64d8f2b..10a0e15 100644 --- a/src/components/Page2.tsx +++ b/src/components/Page2.tsx @@ -78,7 +78,9 @@ function Track({ talk, track, speakers }: TrackProps) { } const companies = new Set(speakers.map((s) => s.company)) const re = /https:\/\/.*/ - const avatarUrl = re.test(speakers[0].avatarUrl || '') ? speakers[0].avatarUrl! : '/cndt2023/trademark.png' + const avatarUrl = re.test(speakers[0].avatarUrl || '') + ? speakers[0].avatarUrl! + : '/cndt2023/trademark.png' return (