1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

unStarItem -> unstarItem (#3181)

This commit is contained in:
lian
2019-03-27 11:28:00 +08:00
committed by Daniel Pan
parent 4a9cfe8a46
commit 99b4ba8cd6
7 changed files with 9 additions and 9 deletions

View File

@@ -327,7 +327,7 @@ class SharedRepoListItem extends React.Component {
onStarRepo = () => {
if (this.state.isStarred) {
seafileAPI.unStarItem(this.props.repo.repo_id, '/').then(() => {
seafileAPI.unstarItem(this.props.repo.repo_id, '/').then(() => {
this.setState({isStarred: !this.state.isStarred});
});
} else {