mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
chore(v2): (nits) remove redundant lines
This commit is contained in:
parent
5b3405bf56
commit
b360b450d8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue