See more
…response.data.messages; this.setState({ chats }); }); }); } componentWillUnmount() { this.pusher.disconnect(); } } export default Chat;