Skip to content

Commit 3af1ec4

Browse files
committed
fix(neuron-ui): hide the colon if description is empty
1 parent dfd9c5d commit 3af1ec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/neuron-ui/src/components/CustomRows/ActivityRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const ActivityRow = (props?: ActivityRowProps) => {
3434
return (
3535
<div
3636
className={`${styles.activityRow} ${styles[status]}`}
37-
title={`${hash}: ${description || ''}`}
37+
title={`${hash}${description ? `: ${description}` : ''}`}
3838
onDoubleClick={onDoubleClick}
3939
>
4040
<div className={styles.action}>{`${typeLabel} ${shannonToCKBFormatter(value)} CKB`}</div>

0 commit comments

Comments
 (0)