We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15d0bb commit 2b2e881Copy full SHA for 2b2e881
src/blocks/Media/Media.tsx
@@ -23,7 +23,7 @@ export const MediaBlock = (props: MediaBlockProps) => {
23
const theme = useTheme();
24
const mediaThemed = getThemedValue(media, theme);
25
const mediaWithMicrodata = mergeVideoMicrodata(mediaThemed, {
26
- name: typeof title === 'object' ? title.text : title,
+ name: typeof title === 'object' && 'text' in title ? title.text : title,
27
description,
28
});
29
0 commit comments