fix warning about missing thead

This commit is contained in:
Matthew Hodgson 2015-11-11 02:00:18 +01:00
parent 5aa468f1e3
commit bc3ee949f5
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,9 @@ module.exports = React.createClass({
<input ref="roomAlias" placeholder="Join a room (e.g. #foo:domain.com)" className="mx_RoomDirectory_input" size="64" onKeyUp={ this.onKeyUp }/> <input ref="roomAlias" placeholder="Join a room (e.g. #foo:domain.com)" className="mx_RoomDirectory_input" size="64" onKeyUp={ this.onKeyUp }/>
<div className="mx_RoomDirectory_tableWrapper"> <div className="mx_RoomDirectory_tableWrapper">
<table className="mx_RoomDirectory_table"> <table className="mx_RoomDirectory_table">
<thead>
<tr><th width="45%">Room</th><th width="45%">Alias</th><th width="10%">Members</th></tr> <tr><th width="45%">Room</th><th width="45%">Alias</th><th width="10%">Members</th></tr>
</thead>
{ this.getRows(this.state.roomAlias) } { this.getRows(this.state.roomAlias) }
</table> </table>
</div> </div>