mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
remove duplicate code
This commit is contained in:
@@ -13,7 +13,6 @@ const propTypes = {
|
||||
isCurrentRepo: PropTypes.bool,
|
||||
currentPath: PropTypes.string,
|
||||
isShowFile: PropTypes.bool,
|
||||
isCurrentRepo: PropTypes.bool,
|
||||
selectedPath: PropTypes.string,
|
||||
selectedRepo: PropTypes.object,
|
||||
repo: PropTypes.object.isRequired,
|
||||
@@ -22,7 +21,6 @@ const propTypes = {
|
||||
onRepoItemClick: PropTypes.func.isRequired,
|
||||
fileSuffixes: PropTypes.array,
|
||||
selectedItemInfo: PropTypes.object,
|
||||
currentPath: PropTypes.string,
|
||||
};
|
||||
|
||||
class RepoListItem extends React.Component {
|
||||
|
Reference in New Issue
Block a user