This commit is contained in:
Bill 2021-07-04 09:13:55 -04:00
parent 520f8d34b8
commit 4ea7dad180

View File

@ -97,13 +97,12 @@ export const ChatWidgetMessageView: FC<ChatWidgetMessageViewProps> = props =>
</div> </div>
<div className="chat-content"> <div className="chat-content">
<b className="username mr-1" dangerouslySetInnerHTML={ {__html: `${ chat.username }: ` } } /> <b className="username mr-1" dangerouslySetInnerHTML={ {__html: `${ chat.username }: ` } } />
{ chat.text } <span className="message">{ chat.text }</span>
<span className="message"> { {/* {
messageParts && messageParts.map((part, index) => messageParts && messageParts.map((part, index) =>
{ {
return <span key={ index } className={ part.className } style={ part.style } onClick={ part.onClick }>{ part.text }</span> return <span key={ index } className={ part.className } style={ part.style } onClick={ part.onClick }>{ part.text }</span>
}) }) */}
}</span>
</div> </div>
<div className="pointer"></div> <div className="pointer"></div>
</div> </div>