1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix lint error

This commit is contained in:
kawmra
2018-05-27 20:08:57 +09:00
parent e72003009d
commit d7ee06ce6d

View File

@@ -313,8 +313,8 @@ export default class CodeEditor extends React.Component {
editor.replaceSelection(taggedUrl)
const isImageReponse = (response) => {
return response.headers.has('content-type')
&& response.headers.get('content-type').match(/^image\/.+$/)
return response.headers.has('content-type') &&
response.headers.get('content-type').match(/^image\/.+$/)
}
const replaceTaggedUrl = (replacement) => {
const value = editor.getValue()