fix(deps): update dependency react-markdown to v5 (#4508)

This commit is contained in:
renovate[bot]
2020-10-26 12:34:21 +02:00
committed by GitHub
parent a0176e4572
commit a0d108e240
3 changed files with 51 additions and 33 deletions

View File

@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
import Markdown from 'react-markdown';
const Markdownify = ({ source }) => (
<Markdown source={source} renderers={{ root: Fragment, paragraph: Fragment }} />
<Markdown renderers={{ root: Fragment, paragraph: Fragment }}>{source}</Markdown>
);
export default Markdownify;