- updated bando preview by admin;
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import parse from 'html-react-parser';
|
||||
import { isNil } from 'ramda';
|
||||
|
||||
const renderHtmlContent = (content = '') => parse(content);
|
||||
const renderHtmlContent = (content = '') => !isNil(content) ? parse(content) : '';
|
||||
|
||||
export default renderHtmlContent;
|
||||
Reference in New Issue
Block a user