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 ec8e23c commit 23686cdCopy full SHA for 23686cd
netlify/edge-functions/social-image-helpers/project-social-image.tsx
@@ -31,7 +31,7 @@ async function projectSocialImage(
31
32
const summary = project.summary;
33
let summaryFontSize = Sizing.toPx(3);
34
- if (summary.length > MaxLength.at3 * 1.5) {
+ if (summary && summary.length > MaxLength.at3 * 1.5) {
35
summaryFontSize = Sizing.toPx(2.5);
36
}
37
0 commit comments