Unverified Commit 5df870c0 authored by Thibaut S's avatar Thibaut S Committed by GitHub
Browse files

Show the first 4 digits of the address including 0x

parent e79909b4
Pipeline #44261 canceled with stages
......@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
const AddressShort = ({ address, as: T = 'span', ...otherProps }) => (
<T {...otherProps}>
{address.slice(0, 4)}..{address.slice(-4)}
{address.slice(0, 6)}..{address.slice(-4)}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment