Fix ESLint

This commit is contained in:
Mark McDowall 2021-05-19 15:06:06 -07:00
parent 2ad4e21aad
commit c3837c9f7b
1 changed files with 4 additions and 2 deletions

View File

@ -197,10 +197,11 @@ class QueuedTaskRow extends Component {
{commandName}
</span>
{
clientUserAgent &&
clientUserAgent ?
<span className={styles.userAgent} title="User-Agent provided by the app that called the API">
from: {clientUserAgent}
</span>
</span> :
null
}
</TableRowCell>
@ -266,6 +267,7 @@ QueuedTaskRow.propTypes = {
status: PropTypes.string.isRequired,
duration: PropTypes.string,
message: PropTypes.string,
clientUserAgent: PropTypes.string,
showRelativeDates: PropTypes.bool.isRequired,
shortDateFormat: PropTypes.string.isRequired,
longDateFormat: PropTypes.string.isRequired,