diff --git a/rdmo/core/assets/js/components/Html.js b/rdmo/core/assets/js/components/Html.js index d0f18d4fe..acd13bbd2 100644 --- a/rdmo/core/assets/js/components/Html.js +++ b/rdmo/core/assets/js/components/Html.js @@ -2,16 +2,12 @@ import React from 'react' import PropTypes from 'prop-types' import { isEmpty } from 'lodash' -const Html = ({ html }) => { +const Html = ({ html = '' }) => { return !isEmpty(html) && (
) } -Html.defaultProps = { - className: '' -} - Html.propTypes = { className: PropTypes.string, html: PropTypes.string