removed console.log
This commit is contained in:
parent
a04ded5506
commit
ecffddf877
1 changed files with 1 additions and 2 deletions
|
@ -93,11 +93,10 @@ const StyledCollapseContainer = styled.div`
|
|||
`
|
||||
|
||||
function parseToc(json) {
|
||||
console.log(json)
|
||||
|
||||
return (
|
||||
<ol>
|
||||
{json.map((elem) => (
|
||||
// elem: content, i, lvl
|
||||
<li key={elem.slug}>
|
||||
<HashLink smooth to={location.pathname + "#" + elem.slug}>
|
||||
{elem.content}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue