Skip to content

Commit

Permalink
RoomDirectory: use SimpleRoomHeader instead of RoomHeader
Browse files Browse the repository at this point in the history
SimpleRoomHeader and RoomHeader are now separate things
(matrix-org/matrix-react-sdk#252), so update Vector
accordingly.
  • Loading branch information
richvdh committed Mar 29, 2016
1 parent 2462ede commit cf0340c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/structures/RoomDirectory.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,12 @@ module.exports = React.createClass({
);
}

var RoomHeader = sdk.getComponent('rooms.RoomHeader');
var SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
return (
<div className="mx_RoomDirectory">
<RoomHeader simpleHeader="Directory" />
<SimpleRoomHeader>
Directory
</SimpleRoomHeader>
<div className="mx_RoomDirectory_list">
<input ref="roomAlias" placeholder="Join a room (e.g. #foo:domain.com)" className="mx_RoomDirectory_input" size="64" onKeyUp={ this.onKeyUp }/>
<GeminiScrollbar className="mx_RoomDirectory_tableWrapper">
Expand Down

0 comments on commit cf0340c

Please sign in to comment.