Skip to content

Commit ac8c2a6

Browse files
Func page: Fix return description not displaying when there isn't one
1 parent b48d587 commit ac8c2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/reference/[func].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ let funcSyntaxes = parseFunctionSyntaxes(func.id, func.data);
285285
))}
286286
</ul>
287287

288-
<EnhancedMarkdown content={syntax.returns.description}/>
288+
<EnhancedMarkdown content={syntax.returns.description || ""}/>
289289
)}
290290
</div>
291291
))}

0 commit comments

Comments
 (0)