Skip to content

Commit

Permalink
Merge pull request #956 from trilitech/fix-duplicating-key-error-for-…
Browse files Browse the repository at this point in the history
…peers

Fix duplicating key error for peers
  • Loading branch information
asiia-trilitech authored Mar 13, 2024
2 parents c1bc087 + 428df22 commit 2fffd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/beacon/BeaconPeers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const PeersDisplay = ({
}) => (
<Box>
{peerInfos.map(peerInfo => (
<Fragment key={peerInfo.name}>
<Fragment key={peerInfo.senderId}>
<Divider />
<PeerRow onRemove={() => removePeer(peerInfo)} peerInfo={peerInfo} />
</Fragment>
Expand Down

1 comment on commit 2fffd24

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 84.53% 2940/3478
🟡 Branches 78.07% 993/1272
🟢 Functions 82.39% 898/1090
🟢 Lines 84.29% 2779/3297

Test suite run success

1182 tests passing in 162 suites.

Report generated by 🧪jest coverage report action from 2fffd24

Please sign in to comment.