diff options
Diffstat (limited to 'vnext/src/components/Contacts.js')
-rw-r--r-- | vnext/src/components/Contacts.js | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/vnext/src/components/Contacts.js b/vnext/src/components/Contacts.js index aea537d4..509db3b3 100644 --- a/vnext/src/components/Contacts.js +++ b/vnext/src/components/Contacts.js @@ -28,16 +28,18 @@ export default class Contacts extends React.Component { const { pms } = this.state; const user = this.props.visitor; return ( - <div style={wrapperStyle} className="msg-cont"> - <ul style={chatListStyle} ref="chats"> - { - pms && pms.map((chat) => - <li key={chat.uname} style={chatTitleStyle}> - <Contact key={chat.uname} user={chat} /> - </li> - ) - } - </ul> + <div className="msgs"> + <div style={wrapperStyle} className="msg-cont"> + <ul style={chatListStyle} ref="chats"> + { + pms && pms.map((chat) => + <li key={chat.uname} style={chatTitleStyle}> + <Contact key={chat.uname} user={chat} /> + </li> + ) + } + </ul> + </div> </div> ); } |