diff --git a/web-chat/src/ChatList.tsx b/web-chat/src/ChatList.tsx index 90e2238437..615c3992b2 100644 --- a/web-chat/src/ChatList.tsx +++ b/web-chat/src/ChatList.tsx @@ -1,4 +1,11 @@ -import { List, ListItem, ListItemText } from '@material-ui/core'; +import { + Card, + CardContent, + List, + ListItem, + ListItemText, + Typography, +} from '@material-ui/core'; import React from 'react'; import { ChatMessage } from '../../build/main/chat/chat_message'; @@ -31,9 +38,30 @@ function Message(props: MessageProps) { minute: '2-digit', hour12: false, }); + + // {`<${timestamp}> ${chatMsg.nick}: ${chatMsg.message}`} return ( -
- {`<${timestamp}> ${chatMsg.nick}: ${chatMsg.message}`} -
+ + + + {chatMsg.nick} + + {timestamp} + + + + {chatMsg.message} + + + ); }