chore(v2): (nits) remove redundant lines

This commit is contained in:
endiliey 2019-11-21 14:20:49 +07:00
parent 5b3405bf56
commit b360b450d8

View file

@ -26,10 +26,9 @@ function toValue(node) {
case 'delete':
return `<del>${node.children.map(toValue).join('')}</del>`;
default:
}
}
return toString(node);
}
}
return '';
}
// Visit all headings. We `slug` all headings (to account for