You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Fix class construction in MemberList
This commit is contained in:
@@ -32,15 +32,11 @@ const INITIAL_LOAD_NUM_MEMBERS = 30;
|
|||||||
const INITIAL_LOAD_NUM_INVITED = 5;
|
const INITIAL_LOAD_NUM_INVITED = 5;
|
||||||
const SHOW_MORE_INCREMENT = 100;
|
const SHOW_MORE_INCREMENT = 100;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
export default createReactClass({
|
|
||||||
=======
|
|
||||||
// Regex applied to filter our punctuation in member names before applying sort, to fuzzy it a little
|
// Regex applied to filter our punctuation in member names before applying sort, to fuzzy it a little
|
||||||
// matches all ASCII punctuation: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
|
// matches all ASCII punctuation: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
|
||||||
const SORT_REGEX = /[\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\x7E]+/g;
|
const SORT_REGEX = /[\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\x7E]+/g;
|
||||||
|
|
||||||
module.exports = createReactClass({
|
export default createReactClass({
|
||||||
>>>>>>> develop
|
|
||||||
displayName: 'MemberList',
|
displayName: 'MemberList',
|
||||||
|
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user