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

Fix linting issues

This commit is contained in:
Aquib Master
2017-10-14 19:28:11 +13:00
parent 31daec5fe2
commit 3f53a1f629

View File

@@ -187,9 +187,9 @@ export default class MarkdownPreview extends React.Component {
fixDecodedURI (node) {
const { innerText, href } = node
node.innerText = mdurl.decode(href) === innerText ?
href :
innerText;
node.innerText = mdurl.decode(href) === innerText
? href
: innerText
}
componentDidMount () {