You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Lint
This commit is contained in:
@ -68,7 +68,7 @@ export default React.createClass({
|
|||||||
<button onClick={this._onClearStorageClick} className="danger">
|
<button onClick={this._onClearStorageClick} className="danger">
|
||||||
{ _t("Clear Storage and Sign Out") }
|
{ _t("Clear Storage and Sign Out") }
|
||||||
</button>
|
</button>
|
||||||
</DialogButtons>
|
</DialogButtons>;
|
||||||
} else {
|
} else {
|
||||||
dialogButtons = <DialogButtons primaryButton={_t("Refresh")}
|
dialogButtons = <DialogButtons primaryButton={_t("Refresh")}
|
||||||
onPrimaryButtonClick={this._onRefreshClick}
|
onPrimaryButtonClick={this._onRefreshClick}
|
||||||
@ -78,7 +78,7 @@ export default React.createClass({
|
|||||||
<button onClick={this._onClearStorageClick} className="danger">
|
<button onClick={this._onClearStorageClick} className="danger">
|
||||||
{ _t("Clear Storage and Sign Out") }
|
{ _t("Clear Storage and Sign Out") }
|
||||||
</button>
|
</button>
|
||||||
</DialogButtons>
|
</DialogButtons>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -44,7 +44,7 @@ module.exports = React.createClass({
|
|||||||
getDefaultProps: function() {
|
getDefaultProps: function() {
|
||||||
return {
|
return {
|
||||||
hasCancel: true,
|
hasCancel: true,
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
_onCancelClick: function() {
|
_onCancelClick: function() {
|
||||||
|
Reference in New Issue
Block a user