feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@@ -91,9 +91,8 @@ class UsernameSettings extends Component {
|
||||
characterValidation: { valid }
|
||||
} = this.state;
|
||||
|
||||
return this.setState(
|
||||
{ submitClicked: true },
|
||||
() => (valid ? submitNewUsername(formValue) : null)
|
||||
return this.setState({ submitClicked: true }, () =>
|
||||
valid ? submitNewUsername(formValue) : null
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user