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': case 'delete':
return `<del>${node.children.map(toValue).join('')}</del>`; return `<del>${node.children.map(toValue).join('')}</del>`;
default: default:
return toString(node);
} }
} }
return ''; return toString(node);
} }
// Visit all headings. We `slug` all headings (to account for // Visit all headings. We `slug` all headings (to account for