From 16440f11f28ac4a0929585975adebf33bf1a1106 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Thu, 9 Jan 2025 10:15:23 +0530 Subject: [PATCH] Try: fix linting --- packages/block-editor/src/components/block-actions/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/block-actions/index.js b/packages/block-editor/src/components/block-actions/index.js index 4c64de6b1c4cba..3c72030dafaf35 100644 --- a/packages/block-editor/src/components/block-actions/index.js +++ b/packages/block-editor/src/components/block-actions/index.js @@ -20,6 +20,9 @@ export default function BlockActions( { children, __experimentalUpdateSelection: updateSelection, } ) { + const notifyCopy = useNotifyCopy(); + const pasteStyles = usePasteStyles(); + const { getDefaultBlockName, getGroupingBlockName } = useSelect( blocksStore ); const selected = useSelect( @@ -76,9 +79,6 @@ export default function BlockActions( { flashBlock, } = useDispatch( blockEditorStore ); - const notifyCopy = useNotifyCopy(); - const pasteStyles = usePasteStyles(); - return children( { canCopyStyles, canDuplicate,