Fix prettify script and run prettier

This commit is contained in:
Aarni Koskela
2020-09-22 18:19:40 +03:00
parent 7084d2e89e
commit 691aac0351
7 changed files with 24 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ export default class InviteForm extends React.Component {
error: null,
};
onSubmit = async e => {
onSubmit = async (e) => {
e.preventDefault();
this.setState({
@@ -35,11 +35,11 @@ export default class InviteForm extends React.Component {
this.setState({ submitted: true, sending: false });
};
handleError = err => {
handleError = (err) => {
this.setState({ error: err, sending: false });
};
onChange = e => {
onChange = (e) => {
if (e.target.value === this.state.email) {
return;
}