File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
app/conf/2025/speakers/[id] Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,14 @@ export default function SpeakerPage({ params }: SpeakerProps) {
69
69
/>
70
70
</ div >
71
71
72
- < p className = "typography-body-lg mx-auto box-content max-w-[800px] px-4 py-8 lg:px-8 lg:py-16 xl:px-24 xl:pb-24 xl:text-[32px]" >
73
- { formatDescription ( speaker . about ) }
74
- </ p >
75
-
76
- < Hr />
72
+ { speaker . about && (
73
+ < >
74
+ < p className = "typography-body-lg mx-auto box-content max-w-[800px] px-4 py-8 lg:px-8 lg:py-16 xl:px-24 xl:pb-24 xl:text-[32px]" >
75
+ { formatDescription ( speaker . about ) }
76
+ </ p >
77
+ < Hr />
78
+ </ >
79
+ ) }
77
80
78
81
< h3 className = "typography-h2 my-8 px-2 sm:px-3 lg:my-16" >
79
82
2025 Sessions
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import { createCatchAllMeta } from "nextra/catch-all"
2
2
import { getStaticPaths } from "./[slug].mdx"
3
3
4
4
export default ( ) => {
5
- // @ts -expect-error -- fixme
5
+ // This is logging an error
6
+ // `Attempted import error: 'getStaticPaths' is not exported from './[slug].mdx'`
7
+ // but the pages work?
6
8
const { paths } = getStaticPaths ( ) as unknown as {
7
9
paths : { params : { slug : string } } [ ]
8
10
}
You can’t perform that action at this time.
0 commit comments