move initial chats from bot to chatbox

This commit is contained in:
Sharon Kennedy
2020-02-24 14:16:43 -05:00
parent dcd4e4a9ba
commit fec0c1eb14
4 changed files with 117 additions and 56 deletions

View File

@@ -5,6 +5,8 @@ const Message = ({ message, userId, botId }) => {
const senderClass = () => {
switch (message.sender) {
case 'from-me':
return 'from-me'
case userId:
return 'from-me'
case botId: