hotfix: split truncateAddress helper

This commit is contained in:
George Lima 2018-12-15 12:09:46 -03:00
parent 8cca0a3696
commit 0ee42e2bb6
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// @flow
export default (address: string = '') => `${address.substr(0, 20)}...${address.substr(
address.length - 10,
address.length,
)}`;