1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

Repair eslint wraning (#2453)

This commit is contained in:
山水人家
2018-10-16 18:19:51 +08:00
committed by Daniel Pan
parent 80b7e562a0
commit fdbb39a6d3
43 changed files with 498 additions and 264 deletions

View File

@@ -65,10 +65,9 @@ class DraftContent extends React.Component {
editUtilties.createDraftReview(draft.id).then(res => {
window.open(siteRoot + 'drafts/review/' + res.data.id);
})
.catch((error) => {
}).catch((error) => {
if (error.response.status == '409') {
Toast.error("The draft review is existing.");
Toast.error('The draft review is existing.');
}
});
}
@@ -129,7 +128,7 @@ class DraftContent extends React.Component {
/>
}
</div>
);
);
}
}