Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -9,7 +9,7 @@ interface UserInfoProps { | ... | @@ -9,7 +9,7 @@ interface UserInfoProps { |
9 | export const UserInfo: React.FC<UserInfoProps> = ({ users }) => { | 9 | export const UserInfo: React.FC<UserInfoProps> = ({ users }) => { |
10 | return ( | 10 | return ( |
11 | <div className='w-7/12 h-60 flex justify-center'> | 11 | <div className='w-7/12 h-60 flex justify-center'> |
12 | - {users.map((user) => (<UserStatus user={user} />))} | 12 | + {users.map((user) => (<UserStatus key={user.username} user={user} />))} |
13 | </div> | 13 | </div> |
14 | ); | 14 | ); |
15 | } | 15 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment