mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Merge pull request #6313 from vector-im/luke/perf-room-list-dnd
Implement a simple shouldComponentUpdate for DNDRoomTile
This commit is contained in:
commit
6dc7592389
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue