docs: added no console eslint rule (#4170)
This commit is contained in:
@@ -63,7 +63,6 @@ export default function DocPageLayoutSidebar({
|
||||
}}
|
||||
onMouseUp={(e) => {
|
||||
const target = e.target as Element
|
||||
console.log("here", target.classList)
|
||||
if (
|
||||
target.classList.contains("menu__list-item") ||
|
||||
target.parentElement.classList.contains("menu__list-item")
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import React, { useCallback, useEffect, useState } from "react"
|
||||
import React from "react"
|
||||
import clsx from "clsx"
|
||||
import {
|
||||
HtmlClassNameProvider,
|
||||
ThemeClassNames,
|
||||
PageMetadata,
|
||||
prefersReducedMotion,
|
||||
} from "@docusaurus/theme-common"
|
||||
import {
|
||||
docVersionSearchTag,
|
||||
@@ -16,7 +15,6 @@ import DocPageLayout from "@theme/DocPage/Layout"
|
||||
import NotFound from "@theme/NotFound"
|
||||
import SearchMetadata from "@theme/SearchMetadata"
|
||||
import type { Props } from "@theme/DocPage"
|
||||
import { SidebarContext } from "@site/src/context/sidebar"
|
||||
import SidebarProvider from "@site/src/providers/Sidebar"
|
||||
|
||||
function DocPageMetadata(props: Props): JSX.Element {
|
||||
|
||||
Reference in New Issue
Block a user