1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

fix translation and warnings

This commit is contained in:
Michael An
2019-05-15 14:56:46 +08:00
parent 7adccf7ee0
commit 93a99421bc
17 changed files with 26 additions and 27 deletions

View File

@@ -18,8 +18,9 @@ const propTypes = {
onFreezedItem: PropTypes.func.isRequired,
onUnfreezedItem: PropTypes.func.isRequired,
onItemUnshare: PropTypes.func.isRequired,
onItmeDetails: PropTypes.func,
onItemDetails: PropTypes.func,
onItemRename: PropTypes.func,
onItemDelete: PropTypes.func,
};
class SharedRepoListItem extends React.Component {
@@ -333,7 +334,7 @@ class SharedRepoListItem extends React.Component {
} else {
seafileAPI.starItem(this.props.repo.repo_id, '/').then(() => {
this.setState({isStarred: !this.state.isStarred});
})
});
}
}