Enable linting for all auth related files
This commit is contained in:
parent
74a5dd4291
commit
9470424bcb
10 changed files with 52 additions and 55 deletions
|
@ -294,7 +294,7 @@ export const TermsAuthEntry = React.createClass({
|
|||
_trySubmit: function() {
|
||||
let allChecked = true;
|
||||
for (const policy of this.state.policies) {
|
||||
let checked = this.state.toggledPolicies[policy.id];
|
||||
const checked = this.state.toggledPolicies[policy.id];
|
||||
allChecked = allChecked && checked;
|
||||
}
|
||||
|
||||
|
@ -440,7 +440,6 @@ export const MsisdnAuthEntry = React.createClass({
|
|||
clientSecret: PropTypes.func,
|
||||
submitAuthDict: PropTypes.func.isRequired,
|
||||
matrixClient: PropTypes.object,
|
||||
submitAuthDict: PropTypes.func,
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue