refactor RepositoryForm.tsx to FC

This commit is contained in:
Eduard Heimbuch
2020-11-24 12:50:22 +01:00
parent 240069734d
commit ff2b4d8acd
9 changed files with 355 additions and 197 deletions

View File

@@ -75,7 +75,7 @@ class EditRepo extends React.Component<Props> {
<RepositoryForm
repository={this.props.repository}
loading={loading}
submitForm={repo => {
createRepository={repo => {
this.props.modifyRepo(repo, this.repoModified);
}}
/>