You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Run eslint --fix
Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var React = require('react');
|
||||
const React = require('react');
|
||||
|
||||
module.exports = function(opts) {
|
||||
opts = opts || {};
|
||||
@ -12,8 +12,8 @@ module.exports = function(opts) {
|
||||
|
||||
if (!opts.render) {
|
||||
opts.render = function() {
|
||||
return <div>{this.displayName}</div>;
|
||||
}
|
||||
return <div>{ this.displayName }</div>;
|
||||
};
|
||||
}
|
||||
|
||||
return React.createClass(opts);
|
||||
|
Reference in New Issue
Block a user