Skip to content

Commit

Permalink
Merge pull request austintgriffith#212 from MaxStalker/quickfix/uniqu…
Browse files Browse the repository at this point in the history
…e-keys

Add key to remove warning about unique key on each member of map
  • Loading branch information
MaxStalker authored Jul 12, 2019
2 parents feb9349 + 99215e0 commit c3fa6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SimpleBalance.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default ({ mainAmount, otherAmounts, currencyDisplay }) => {
<>
<StyledBalance>
{parts.map(({ type, value }) => (
<Text.span className={type}>{value}</Text.span>
<Text.span className={type} key={type}>{value}</Text.span>
))}
{otherAssetsTotal > 0 && (
<Text className="otherAssets" italic fontSize={1} textAlign="center">
Expand Down

0 comments on commit c3fa6c6

Please sign in to comment.