Skip to content

Scheduling infrastructure for absolutely everyone.

fixes: about section unnecessary scrollbar (#10043)

Mehula9ee5d6f7fd0
diff --git a/packages/ui/components/editor/Editor.tsx b/packages/ui/components/editor/Editor.tsx
index 260cc8fe8ff..ecc6a43aa2c 100644
--- a/packages/ui/components/editor/Editor.tsx
+++ b/packages/ui/components/editor/Editor.tsx
@@ -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 />