mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 11:51:27 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -14,7 +14,7 @@ const propTypes = {
|
||||
};
|
||||
|
||||
class RepoViewToolbar extends React.Component {
|
||||
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
@@ -63,7 +63,7 @@ class RepoViewToolbar extends React.Component {
|
||||
</div>
|
||||
{this.state.isCreateRepoDialogShow && (
|
||||
<ModalPortal>
|
||||
<CreateRepoDialog
|
||||
<CreateRepoDialog
|
||||
libraryType={this.props.libraryType}
|
||||
onCreateRepo={this.onCreateRepo}
|
||||
onCreateToggle={this.onCreateToggle}
|
||||
|
Reference in New Issue
Block a user