From 8a60382428fd126868482989a65bfcc170721156 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Wed, 30 Oct 2024 10:11:27 +0100 Subject: [PATCH] Fix declaration emits for wrong JSDocs --- .../manage/Blocks/ToC/variations/DefaultTocRenderer.jsx | 5 ----- .../manage/Blocks/ToC/variations/HorizontalMenu.jsx | 5 ----- 2 files changed, 10 deletions(-) diff --git a/packages/volto/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx b/packages/volto/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx index ba15af9f23..484a36c599 100644 --- a/packages/volto/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +++ b/packages/volto/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx @@ -35,11 +35,6 @@ const RenderListItems = ({ items, data }) => { }); }; -/** - * View toc block class. - * @class View - * @extends Component - */ const View = ({ data, tocEntries }) => { return ( <> diff --git a/packages/volto/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx b/packages/volto/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx index 0f1597c6aa..29c782ae92 100644 --- a/packages/volto/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx +++ b/packages/volto/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx @@ -25,11 +25,6 @@ const RenderMenuItems = ({ items }) => { }); }; -/** - * View toc block class. - * @class View - * @extends Component - */ const View = ({ data, tocEntries }) => { const [isDropdownOpen, setIsDropdownOpen] = useState(false); // When the page is resized to prevent items from the TOC from going out of the viewport,