1
0
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:
lian
2024-02-27 10:52:36 +08:00
parent 0710561fd5
commit 3453dd22d2

View File

@@ -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 {