开发: 添加eslint两个package
This commit is contained in:
@@ -23,7 +23,7 @@ export const EmojiFormat: React.FC<IProps> = (props) => {
|
||||
return (
|
||||
<>
|
||||
{typeof props.content === 'string' ? (
|
||||
<div dangerouslySetInnerHTML={{ __html: format() }}></div>
|
||||
<div dangerouslySetInnerHTML={{ __html: format() }} />
|
||||
) : (
|
||||
props.content
|
||||
)}
|
||||
|
Reference in New Issue
Block a user