From a69e0d489f357aa51419ec747080698e2a54b36a Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Mon, 30 Jan 2023 12:40:59 +0800 Subject: [PATCH] Update documentation Co-authored-by: Adam Zielinski --- packages/block-editor/src/store/private-actions.js | 4 ++-- packages/block-editor/src/store/private-selectors.js | 2 +- packages/block-editor/src/store/test/private-actions.js | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/block-editor/src/store/private-actions.js b/packages/block-editor/src/store/private-actions.js index 6a872fa3c328a6..a2ebae38f4ed26 100644 --- a/packages/block-editor/src/store/private-actions.js +++ b/packages/block-editor/src/store/private-actions.js @@ -43,7 +43,7 @@ export function __experimentalUpdateSettings( } /** - * Returns an action object used in signalling that the block interface, eg. toolbar, outline, etc. should be hidden. + * Hides the block interface (eg. toolbar, outline, etc.) * * @return {Object} Action object. */ @@ -54,7 +54,7 @@ export function hideBlockInterface() { } /** - * Returns an action object used in signalling that the block interface, eg. toolbar, outline, etc. should be shown. + * Shows the block interface (eg. toolbar, outline, etc.) * * @return {Object} Action object. */ diff --git a/packages/block-editor/src/store/private-selectors.js b/packages/block-editor/src/store/private-selectors.js index 21984a74154226..dede6eccccbe50 100644 --- a/packages/block-editor/src/store/private-selectors.js +++ b/packages/block-editor/src/store/private-selectors.js @@ -1,5 +1,5 @@ /** - * Returns true if the the block interface should be hidden, or false otherwise. + * Returns true if the block interface is hidden, or false otherwise. * * @param {Object} state Global application state. * diff --git a/packages/block-editor/src/store/test/private-actions.js b/packages/block-editor/src/store/test/private-actions.js index ad73b23b582aa5..c4453547f6ce6a 100644 --- a/packages/block-editor/src/store/test/private-actions.js +++ b/packages/block-editor/src/store/test/private-actions.js @@ -1,6 +1,3 @@ -/** - * External dependencies - */ /** * Internal dependencies */