mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix linting issues
This commit is contained in:
@@ -187,9 +187,9 @@ export default class MarkdownPreview extends React.Component {
|
|||||||
fixDecodedURI (node) {
|
fixDecodedURI (node) {
|
||||||
const { innerText, href } = node
|
const { innerText, href } = node
|
||||||
|
|
||||||
node.innerText = mdurl.decode(href) === innerText ?
|
node.innerText = mdurl.decode(href) === innerText
|
||||||
href :
|
? href
|
||||||
innerText;
|
: innerText
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount () {
|
componentDidMount () {
|
||||||
|
|||||||
Reference in New Issue
Block a user