Fix linting issues
This commit is contained in:
parent
6945e3f103
commit
450140befd
8 changed files with 18 additions and 14 deletions
|
@ -31,7 +31,7 @@ interface IProps {
|
|||
@replaceableComponent("views.rooms.RoomDetailList")
|
||||
export default class RoomDetailList extends React.Component<IProps> {
|
||||
public getRows(): JSX.Element[] {
|
||||
if (!this.props.rooms) return []; s;
|
||||
if (!this.props.rooms) return [];
|
||||
return this.props.rooms.map((room, index) => {
|
||||
return <RoomDetailRow key={index} room={room} onClick={this.onDetailsClick} />;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue