diff --git a/packages/app/components/ui/form/FormInputComponent.tsx b/packages/app/components/ui/form/FormInputComponent.tsx index 7126298..6ecb172 100644 --- a/packages/app/components/ui/form/FormInputComponent.tsx +++ b/packages/app/components/ui/form/FormInputComponent.tsx @@ -15,18 +15,8 @@ export default class FormInputComponent extends FormComponent< error?: Error; } > { - componentDidUpdate() { - if (this.state && this.state.error) { - this.setState({ - error: undefined, - }); - } - } - renderError() { - const error = (this.state && this.state.error) || this.props.error; - - return ; + return ; } setError(error: Error) {