Closed BernardHan closed 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} />
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: