You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
more lint fixes
This commit is contained in:
@@ -155,7 +155,7 @@ class Tinter {
|
|||||||
|
|
||||||
tint(primaryColor, secondaryColor, tertiaryColor) {
|
tint(primaryColor, secondaryColor, tertiaryColor) {
|
||||||
return;
|
return;
|
||||||
|
// eslint-disable-next-line no-unreachable
|
||||||
this.currentTint[0] = primaryColor;
|
this.currentTint[0] = primaryColor;
|
||||||
this.currentTint[1] = secondaryColor;
|
this.currentTint[1] = secondaryColor;
|
||||||
this.currentTint[2] = tertiaryColor;
|
this.currentTint[2] = tertiaryColor;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ limitations under the License.
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import sdk from '../../index';
|
import sdk from '../../index';
|
||||||
import dis from '../../dispatcher';
|
|
||||||
|
|
||||||
class TopLeftMenu extends React.Component {
|
class TopLeftMenu extends React.Component {
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ class TopLeftMenu extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
||||||
const avatarHeight = 28;
|
const avatarHeight = 28;
|
||||||
const name = "My stuff"
|
const name = "My stuff";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_TopLeftMenu">
|
<div className="mx_TopLeftMenu">
|
||||||
@@ -43,7 +42,7 @@ class TopLeftMenu extends React.Component {
|
|||||||
<div className="mx_TopLeftMenu_name">
|
<div className="mx_TopLeftMenu_name">
|
||||||
{ name }
|
{ name }
|
||||||
</div>
|
</div>
|
||||||
<img className="mx_TopLeftMenu_chevron" src="img/topleft-chevron.svg" width="11" height="6"/>
|
<img className="mx_TopLeftMenu_chevron" src="img/topleft-chevron.svg" width="11" height="6" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user