decentraland / decentraland/ui2
Move shortening address logic to a generic lib (schemas maybe)
Open
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 2h 1m
- Merged PRs (30d)
- 10
Description
Example from the account dApp:
```js
export function shortening(address: string): string {
return address ? `${address.slice(0, 4)}...${address.slice(-4)}` : ''
}
```
Contributor guide
Assessment
This issue has not been assessed yet.