@@ -40,9 +40,9 @@ const MessageList = ({
4040
4141 function getRepliedMessage ( replyTo ) {
4242 return decryptedMessages . find ( ( object ) => object . id === replyTo ) ;
43- }
43+ }
4444
45- console . log ( decryptedMessages )
45+ console . log ( decryptedMessages ) ;
4646
4747 return (
4848 decryptedMessages &&
@@ -156,7 +156,9 @@ const MessageList = ({
156156 __html : md . render (
157157 badwordChoices [ id ] === 'hide'
158158 ? badwords . filter ( message )
159- : badwordChoices [ id ] === 'show' ? message : message
159+ : badwordChoices [ id ] === 'show'
160+ ? message
161+ : message
160162 ) ,
161163 } }
162164 />
@@ -199,9 +201,9 @@ const MessageList = ({
199201export default MessageList ;
200202
201203MessageList . propTypes = {
202- decryptedMessages : PropTypes . array ,
204+ decryptedMessages : PropTypes . array ,
203205 senderId : PropTypes . string . isRequired ,
204- currentReplyMessageId : PropTypes . string ,
206+ currentReplyMessageId : PropTypes . string ,
205207 doSend : PropTypes . func . isRequired ,
206208 inputRef : PropTypes . object . isRequired ,
207209 cancelEdit : PropTypes . func . isRequired ,
0 commit comments