mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:27:19 +08:00
Remove redundant role elements
This commit is contained in:
parent
5e855e6fee
commit
548f319816
@ -552,12 +552,12 @@ module.exports = React.createClass({
|
||||
switch (section) {
|
||||
case 'im.vector.fake.direct':
|
||||
return <span className="mx_RoomList_headerButtons">
|
||||
<StartChatButton role='start_chat' size="16" />
|
||||
<StartChatButton size="16" />
|
||||
</span>;
|
||||
case 'im.vector.fake.recent':
|
||||
return <span className="mx_RoomList_headerButtons">
|
||||
<RoomDirectoryButton role='room_directory' size="16" />
|
||||
<CreateRoomButton role='create_room' size="16" />
|
||||
<RoomDirectoryButton size="16" />
|
||||
<CreateRoomButton size="16" />
|
||||
</span>;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user