Hey, i wanted to add my Blockquote Block to my Lexical Editor. I created a Block with a component, added it to the RenderBlocks.tsx and added it to the NodeTypes type in the RichText component. When i add the slug with a function that returns the React component (which is async if this has to do somethign with that) I get this error:
When i jsut return a empty div it works so it has to be a error with my JSX function...
customBlockquote: ({ node }) => {
return (
<CustomBlockquoteBlock
quote={node.fields.quote}
blockType={node.fields.blockType}
id={node.fields.id}
blockName={node.fields.blockName}
></CustomBlockquoteBlock>
)
},