Skip to content

Commit

Permalink
fix: key for map items in SFN
Browse files Browse the repository at this point in the history
  • Loading branch information
eswarclynn committed Mar 26, 2024
1 parent a50bbdc commit 0b64e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/roomkit-react/src/Stats/Stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function VideoTileStats({ videoTrackID, audioTrackID, peerID, isLocal = f
}
const layer = stat.rid ? simulcastMapping[stat.rid as RID] : '';
return (
<Fragment>
<Fragment key={`${stat.id}${stat.rid}`}>
{layer && <StatsRow label={layer.toUpperCase()} value="" />}
<StatsRow
show={isNotNullishAndNot0(stat.frameWidth)}
Expand Down

0 comments on commit 0b64e74

Please sign in to comment.