fixes: about section unnecessary scrollbar (#10043)

This commit is contained in:
Mehul
2023-07-11 11:26:43 +02:00
committed by GitHub
parent 6d35750784
commit a9ee5d6f7f
+5 -1
View File
@@ -90,7 +90,11 @@ export const Editor = (props: TextEditorProps) => {
className="editor-input"
/>
}
placeholder={<div className="text-muted -mt-11 p-3 text-sm">{props.placeholder || ""}</div>}
placeholder={
props?.placeholder ? (
<div className="text-muted -mt-11 p-3 text-sm">{props.placeholder}</div>
) : null
}
ErrorBoundary={LexicalErrorBoundary}
/>
<ListPlugin />