mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Remove unused code
This commit is contained in:
@@ -93,14 +93,6 @@ class AddEmailAddressDialog extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
hasError = err => {
|
||||
return Object.keys(this.state.errors).indexOf(err) !== -1;
|
||||
};
|
||||
|
||||
formHasError = () => {
|
||||
return !!Object.keys(this.state.errors).length;
|
||||
};
|
||||
|
||||
showErrors = () => {
|
||||
this.setState({
|
||||
showErrors: true,
|
||||
|
||||
Reference in New Issue
Block a user