Created
April 10, 2020 11:53
-
-
Save jessgusclark/f4450dcf2873188d0bf7cf507105c5d6 to your computer and use it in GitHub Desktop.
Concat address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const concatAddress = addr => `${addr.substr(0, 6)}...${addr.substr(addr.length - 4)}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment