Remove some noisy logging

This commit is contained in:
Tuan Cao 2022-04-18 07:58:20 +07:00
parent f606499ae8
commit 0065eed6e9
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ function MDContainer({post, fileNames}) {
const [posts, setPosts] = useState([post]);
function handleClick(content) {
console.log(content)
// console.log(content)
setPosts(prevPosts => {
return [...prevPosts, content]
})

View File

@ -136,7 +136,7 @@ export const Transformer = {
let canonicalSlug;
if (pageName.includes('#')) {
console.log(pageName)
// console.log(pageName)
const tempSlug = pageName.split('#')[0]
if (tempSlug.length === 0) {
// Meaning it in form of #Heading1 --> slug will be this file slug

View File

@ -107,7 +107,7 @@ export function constructBackLinks() {
edges.push(anEdge)
if (nodes.findIndex(aNode => aNode.slug === aLink.slug) === -1) {
aLink.shortSummary = getShortSummary(aLink.slug)
console.log(aLink.shortSummary)
// console.log(aLink.shortSummary)
nodes.push(aLink)
}
})