Skip to content

Commit

Permalink
Merge pull request #6313 from vector-im/luke/perf-room-list-dnd
Browse files Browse the repository at this point in the history
Implement a simple shouldComponentUpdate for DNDRoomTile
  • Loading branch information
lukebarnard1 committed Mar 15, 2018
2 parents 527e830 + fd8b36e commit 6dc7592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/DNDRoomTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import RoomTile from 'matrix-react-sdk/lib/components/views/rooms/RoomTile';

import classNames from 'classnames';

export default class DNDRoomTile extends React.Component {
export default class DNDRoomTile extends React.PureComponent {
constructor() {
super();
this.getClassName = this.getClassName.bind(this);
Expand Down

0 comments on commit 6dc7592

Please sign in to comment.