- updated bando preview by admin;

This commit is contained in:
Vitalii Kiiko
2024-10-22 13:28:40 +02:00
parent 81f6ca04c3
commit f118450847
2 changed files with 5 additions and 2 deletions

View File

@@ -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;