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 644f6a8 commit 28e8cdaCopy full SHA for 28e8cda
src/components/GridItem/Reference.astro
@@ -20,7 +20,7 @@ const { item } = Astro.props;
20
</p>
21
<p class="text-sm mt-xxs">
22
{
23
- `${item.data.description.replace(/<[^>]*>/g, "").split(/(\.|。)(\s|$)/, 1)[0]}.`
+ `${item.data.description?.replace(/<[^>]*>/g, "").split(/(\.|。)(\s|$)/, 1)[0]}.`
24
}
25
26
</a>
0 commit comments