removed console.log

This commit is contained in:
Kim, Jimin 2021-08-10 16:01:07 +09:00
parent a04ded5506
commit ecffddf877

View file

@ -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}