From 709cf532920e1da2bdc74ee68f715bc6ab8f0647 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 7 May 2019 10:39:35 +0100 Subject: [PATCH] Remove useless comment from docs --- packages/block-editor/src/components/block-list/block.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/block-editor/src/components/block-list/block.js b/packages/block-editor/src/components/block-list/block.js index 97b02d838b0b4a..87b3bccdc2bed9 100644 --- a/packages/block-editor/src/components/block-list/block.js +++ b/packages/block-editor/src/components/block-list/block.js @@ -53,8 +53,6 @@ import { isInsideRootBlock } from '../../utils/dom'; * selection to take effect unhampered. * * @param {DragEvent} event Drag event. - * - * @return {void} */ const preventDrag = ( event ) => { event.preventDefault(); @@ -249,8 +247,6 @@ function BlockListBlock( { * Marks the block as selected when focused and not already selected. This * specifically handles the case where block does not set focus on its own * (via `setFocus`), typically if there is no focusable input in the block. - * - * @return {void} */ const onFocus = () => { if ( ! isSelected && ! isPartOfMultiSelection ) { @@ -300,8 +296,6 @@ function BlockListBlock( { * Begins tracking cursor multi-selection when clicking down within block. * * @param {MouseEvent} event A mousedown event. - * - * @return {void} */ const onPointerDown = ( event ) => { // Not the main button.