File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,9 @@ function useDocTOC() {
39
39
40
40
function isExcludedPath ( path , excludedSlugs ) {
41
41
// Check if any of the excluded components exist in the path
42
- console . log ( path )
43
- console . log ( excludedSlugs )
44
42
return excludedSlugs . some ( component => path . includes ( component ) ) ;
45
43
}
44
+
46
45
export default function DocItemLayout ( { children} ) {
47
46
const docTOC = useDocTOC ( ) ;
48
47
const { metadata, frontMatter} = useDoc ( ) ;
@@ -51,7 +50,6 @@ export default function DocItemLayout({children}) {
51
50
const location = useLocation ( ) ;
52
51
const context = useDocusaurusContext ( ) ;
53
52
54
- console . log ( context )
55
53
const excludeRelatedComponents = isExcludedPath ( location . pathname , context . siteConfig . customFields . relatedBlogsIgnoreList )
56
54
57
55
const [ showPopup , setShowPopup ] = useState ( false )
You can’t perform that action at this time.
0 commit comments