Skip to content

Commit 069da87

Browse files
committed
fix(types): page content
HCRC-178
1 parent 86649f7 commit 069da87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/pageContent/PageContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ export function PageContent(props: PageContentProps) {
293293
heroContainer={heroContainer}
294294
id={page?.id ?? 'page'}
295295
imageSrc={page?.featuredImage?.node?.large}
296-
imageAlt={page?.featuredImage?.node?.altText}
297-
imageLabel={page?.featuredImage?.node?.photographerName}
296+
imageAlt={page?.featuredImage?.node?.altText ?? undefined}
297+
imageLabel={page?.featuredImage?.node?.photographerName ?? undefined}
298298
backUrl={backUrl}
299299
content={
300300
typeof content === 'function'

0 commit comments

Comments
 (0)