mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
refactor RepositoryForm.tsx to FC
This commit is contained in:
@@ -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);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user