sdy

update Message component

...@@ -42,15 +42,15 @@ const Time = styled.span` ...@@ -42,15 +42,15 @@ const Time = styled.span`
42 font-size: 15px; 42 font-size: 15px;
43 `; 43 `;
44 44
45 -export default ({ time, text }) => { 45 +export default ({ text }) => {
46 return ( 46 return (
47 <MessageWrapper className="MessageWrapper"> 47 <MessageWrapper className="MessageWrapper">
48 <MsgContainer> 48 <MsgContainer>
49 <MsgBox> 49 <MsgBox>
50 - <Msg> {text} Outcoming Message </Msg> 50 + <Msg> {text} </Msg>
51 </MsgBox> 51 </MsgBox>
52 <TimeBox> 52 <TimeBox>
53 - <Time> {format(parse(time, "MM/DD/YYYY hh:mma"))} </Time> 53 + <Time></Time>
54 </TimeBox> 54 </TimeBox>
55 </MsgContainer> 55 </MsgContainer>
56 </MessageWrapper> 56 </MessageWrapper>
......