mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
unStarItem -> unstarItem (#3181)
This commit is contained in:
@@ -37,7 +37,7 @@ class FileView extends React.Component {
|
||||
|
||||
toggleStar = () => {
|
||||
if (this.state.isStarred) {
|
||||
seafileAPI.unStarItem(repoID, filePath).then((res) => {
|
||||
seafileAPI.unstarItem(repoID, filePath).then((res) => {
|
||||
this.setState({
|
||||
isStarred: false
|
||||
});
|
||||
|
Reference in New Issue
Block a user