Skip to content

Commit

Permalink
fix(neuron-ui): hide the colon if description is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Oct 29, 2019
1 parent dfd9c5d commit 3af1ec4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ const ActivityRow = (props?: ActivityRowProps) => {
return (
<div
className={`${styles.activityRow} ${styles[status]}`}
title={`${hash}: ${description || ''}`}
title={`${hash}${description ? `: ${description}` : ''}`}
onDoubleClick={onDoubleClick}
>
<div className={styles.action}>{`${typeLabel} ${shannonToCKBFormatter(value)} CKB`}</div>
Expand Down

0 comments on commit 3af1ec4

Please sign in to comment.