Remove some noisy logging
This commit is contained in:
parent
f606499ae8
commit
0065eed6e9
@ -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]
|
||||
})
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user