augur-ui-react-components
Advanced tools
Comparing version 3.5.6 to 3.5.7
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.5.6", | ||
"version": "3.5.7", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Augur Project", |
@@ -41,14 +41,12 @@ import React, { Component } from 'react'; | ||
messageCount += 1; | ||
let userName; | ||
let userPopupName; | ||
if (payload.name === '') { | ||
userName = payload.address; | ||
userPopupName = null; | ||
} else { | ||
userName = payload.name; | ||
userPopupName = payload.address; | ||
return ( | ||
<li key={key}> | ||
<span>{payload.address}</span> [<small><ValueTimestamp {...payload.timestamp} /></small>]: {payload.message} | ||
</li> | ||
); | ||
} | ||
return ( | ||
<li key={key}> | ||
<span title={userPopupName}>{userName}</span> [<small><ValueTimestamp {...payload.timestamp} /></small>]: {payload.message} | ||
<span title={payload.address}>{payload.name}</span> [<small><ValueTimestamp {...payload.timestamp} /></small>]: {payload.message} | ||
</li> | ||
@@ -55,0 +53,0 @@ ); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2165139
39875