Skip to content

Commit 6b45eab

Browse files
committed
Add title attribute to Hexstring element. Closes #49
1 parent 8045d20 commit 6b45eab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/components/util/HexString/HexString.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const HexString = (props: Props) => {
1515
}
1616
if (link) {
1717
return (
18-
<span>
18+
<span title={text}>
1919
<Link to={link}>{`0x${length ? text.slice(0, sliceLength) + "..." : text}`}</Link>
2020
</span>
2121
);
2222
} else {
23-
return <span>{`0x${length ? text.slice(0, sliceLength) + "..." : text}`}</span>;
23+
return <span title={text}>{`0x${length ? text.slice(0, sliceLength) + "..." : text}`}</span>;
2424
}
2525
};
2626

0 commit comments

Comments
 (0)