Skip to content

Commit a0bddbf

Browse files
committed
remvoe logging
1 parent ebcb1f3 commit a0bddbf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/theme/DocItem/Layout/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ function useDocTOC() {
3939

4040
function isExcludedPath(path, excludedSlugs) {
4141
// Check if any of the excluded components exist in the path
42-
console.log(path)
43-
console.log(excludedSlugs)
4442
return excludedSlugs.some(component => path.includes(component));
4543
}
44+
4645
export default function DocItemLayout({children}) {
4746
const docTOC = useDocTOC();
4847
const {metadata, frontMatter} = useDoc();
@@ -51,7 +50,6 @@ export default function DocItemLayout({children}) {
5150
const location = useLocation();
5251
const context = useDocusaurusContext();
5352

54-
console.log(context)
5553
const excludeRelatedComponents = isExcludedPath(location.pathname, context.siteConfig.customFields.relatedBlogsIgnoreList)
5654

5755
const [showPopup, setShowPopup] = useState(false)

0 commit comments

Comments
 (0)