Using <User> in a <Table><Cell>

Hi the docs for UI Kit Cell state Cell can contain any value or component. But I’m struggling to get a user component to work.
This works and shows the user uid

 {users.map(participant => (
                            <Row>
                           <Cell><Text>{participant.accountId}</Text></Cell>
                            
                           </Row>
                       ))}

But this doesn’t

 {users.map(participant => (
                            <Row>
                           <Cell> <User accountId = {participant.accountId}></User></Cell>
                            
                           </Row>
                       ))}

What have I misunderstood ?

Thx
Tom

1 Like

Hi
Finally this worked

 {users.map(participant => (
                            <Row>
                                <Cell><UserGroup><User accountId = {participant.accountId}/></UserGroup></Cell>
                            </Row>
                       ))}

Hi @listertuk ,
It’s nice to hear that everything works fine now :smiley:

Regards
Magdalena