more lint

This commit is contained in:
Jori Lallo
2016-09-02 15:41:28 -07:00
parent 74200b2fb2
commit 123a1848ed
2 changed files with 5 additions and 2 deletions

View File

@ -77,14 +77,14 @@ class MarkdownEditor extends React.Component {
method: 'post',
body: formData,
})
.then(s3Response => {
.then(_s3Response => {
this.props.replaceText({
original: pendingUploadTag,
new: `![${file.name}](${data.asset.url})`,
});
editor.setCursor(newCursorPositionLine, 0);
})
.catch(err => {
.catch(_err => {
this.props.replaceText({
original: pendingUploadTag,
new: '',