mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Use the room ID as the react key
room alias doesn't work now some rooms don't have aliases.
This commit is contained in:
parent
2e23176b34
commit
6581d64618
@ -34,9 +34,9 @@ export function CallList({ rooms, client }: CallListProps) {
|
||||
return (
|
||||
<>
|
||||
<div className={styles.callList}>
|
||||
{rooms.map(({ room, roomAlias, roomName, avatarUrl, participants }) => (
|
||||
{rooms.map(({ room, roomName, avatarUrl, participants }) => (
|
||||
<CallTile
|
||||
key={roomAlias}
|
||||
key={roomName}
|
||||
client={client}
|
||||
name={roomName}
|
||||
avatarUrl={avatarUrl}
|
||||
|
Loading…
Reference in New Issue
Block a user