add FormSubmitError to existing forms

This commit is contained in:
Keith Grant
2020-02-07 09:57:46 -08:00
parent 94f21a3464
commit 352c8c3cb1
18 changed files with 47 additions and 65 deletions
@@ -27,8 +27,8 @@ function UserEdit({ user, history }) {
user={user}
handleCancel={handleCancel}
handleSubmit={handleSubmit}
submitError={formSubmitError}
/>
{formSubmitError ? <div> error </div> : null}
</CardBody>
);
}