You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While saving file .js, message.text will contain "<p><our message></p>". And that is the reason our message is rendered with <p>.....</p> tag. Give a try by saving files all the respective files with .jsx
this is the code of MyMessage :
const MyMessage = ({message}) => {
if (message.attachments && message.attachments.length>0) {
};
export default MyMessage ;
This is the code of Chatfeed :
import MessageForm from './MessageForm' ;
import MyMessage from './MyMessage' ;
import TheirMessage from './TheirMessage' ;
const ChatFeed = (props) => {
const { chats , activeChat , userName , messages} = props ;
}
export default ChatFeed ;
The text was updated successfully, but these errors were encountered: