Ionosphere.tv
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: gracefully handle missing getMentions endpoint during build

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3 -3
+3 -3
apps/ionosphere/src/app/talks/[rkey]/page.tsx
··· 33 33 34 34 export default async function TalkPage({ params }: { params: Promise<{ rkey: string }> }) { 35 35 const { rkey } = await params; 36 - const [{ talk, speakers, concepts }, { mentions }] = await Promise.all([ 36 + const [{ talk, speakers, concepts }, mentionsData] = await Promise.all([ 37 37 getTalk(rkey), 38 - getMentions(rkey), 38 + getMentions(rkey).catch(() => ({ mentions: [], total: 0 })), 39 39 ]); 40 40 41 - return <TalkContent talk={talk} speakers={speakers} concepts={concepts} mentions={mentions} />; 41 + return <TalkContent talk={talk} speakers={speakers} concepts={concepts} mentions={mentionsData.mentions} />; 42 42 }