fix undefined

This commit is contained in:
plebeius.eth
2023-08-18 13:47:41 +02:00
parent c11ce2d5dd
commit 6783efd761
+1 -1
View File
@@ -6,7 +6,7 @@ import ForwardRefLink from './ForwardRefLink';
const Post = ({ content, postQuoteOnClick, postQuoteOnOver, postQuoteOnLeave, postQuoteRef }) => {
const doubleNewlineContent = content.replace(/\n/g, ' \n\n');
const doubleNewlineContent = content?.replace(/\n/g, ' \n\n');
const customSchema = useMemo(() => ({
...defaultSchema,