mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Fix index issue on friend bubbles
This commit is contained in:
parent
f6194e7f13
commit
a9eff4f0ae
@ -276,7 +276,7 @@ export const AvatarInfoWidgetView: FC<AvatarInfoWidgetViewProps> = props =>
|
||||
{ currentView }
|
||||
{ (nameBubbles.length > 0) && nameBubbles.map((name, index) =>
|
||||
{
|
||||
return <AvatarInfoWidgetNameView nameData={ name } close={ () => removeNameBubble(index) } />;
|
||||
return <AvatarInfoWidgetNameView key={ index } nameData={ name } close={ () => removeNameBubble(index) } />;
|
||||
}) }
|
||||
{ rentableBotChatEvent && <AvatarInfoRentableBotChatView chatEvent={ rentableBotChatEvent } /> }
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user