mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
unStarItem -> unstarItem (#3181)
This commit is contained in:
@@ -181,7 +181,7 @@ class Item extends Component {
|
||||
|
||||
onStarRepo = () => {
|
||||
if (this.state.isStarred) {
|
||||
seafileAPI.unStarItem(this.props.data.repo_id, '/').then(() => {
|
||||
seafileAPI.unstarItem(this.props.data.repo_id, '/').then(() => {
|
||||
this.setState({isStarred: !this.state.isStarred});
|
||||
});
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user