We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41f8fb commit 9c08912Copy full SHA for 9c08912
src/block.tsx
@@ -5,7 +5,7 @@ import Code from "./components/code";
5
import { classNames, getTextContent } from "./utils";
6
7
export const renderChildText = (properties: DecorationType[]) => {
8
- return properties.map(([text, decorations], i) => {
+ return properties?.map(([text, decorations], i) => {
9
if (!decorations) {
10
return <React.Fragment key={i}>{text}</React.Fragment>;
11
}
0 commit comments