diff --git a/components/doc/menu/popupdoc.js b/components/doc/menu/popupdoc.js index 7d11800058..686bf94589 100644 --- a/components/doc/menu/popupdoc.js +++ b/components/doc/menu/popupdoc.js @@ -7,7 +7,8 @@ import { DocSectionCode } from '../common/docsectioncode'; import { DocSectionText } from '../common/docsectiontext'; export function PopupDoc(props) { - const menu = useRef(null); + const menuLeft = useRef(null); + const menuRight = useRef(null); const router = useRouter(); const toast = useRef(null); const items = [ @@ -51,8 +52,10 @@ export function PopupDoc(props) { const code = { basic: ` - -