mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04: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
@ -20,7 +20,7 @@ import RoomTile from 'matrix-react-sdk/lib/components/views/rooms/RoomTile';
|
|||||||
|
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
export default class DNDRoomTile extends React.Component {
|
export default class DNDRoomTile extends React.PureComponent {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.getClassName = this.getClassName.bind(this);
|
this.getClassName = this.getClassName.bind(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user