fix(ui): use react-markdown children

pull/5750/head
Pavel Zavora 2021-05-11 13:09:40 +02:00
parent 61041a54a9
commit 49f88ebb26
1 changed files with 3 additions and 4 deletions

View File

@ -46,10 +46,9 @@ class LayoutCellNote extends Component<Props> {
<div className={this.noteContentsClass}>
<FancyScrollbar autoHide={false} autoHeight={true} maxHeight={140}>
<div className="dash-graph--note-contents">
<Markdown
source={humanizeNote(note)}
className="markdown-format"
/>
<Markdown className="markdown-format">
{humanizeNote(note)}
</Markdown>
</div>
</FancyScrollbar>
</div>