bodhiproject / bodhi-ui

ReactJS frontend that interacts with the Bodhi backend services
GNU Lesser General Public License v3.0
18 stars 5 forks source link

Make all sliced address using universal sliced address getter method from naka store #1475

Closed BernardHan closed 5 years ago

dwalintukan commented 5 years ago

suggest to make a Component for this purpose since the only time you slice an address is when you're displaying it. the store should not keep the sliced version, but the full length address.

The component could be sometihng like this:

<WalletAddress address={address} shorten={true} />