From 28e30318db200dfc07b73758d4627b4c0573bcef Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Wed, 21 Feb 2018 10:05:25 +0100 Subject: [PATCH] Edit post: Move CopyContentMenuItem to hooks subfolder --- .../header => hooks/more-menu}/copy-content-menu-item/index.js | 0 edit-post/hooks/more-menu/index.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename edit-post/{components/header => hooks/more-menu}/copy-content-menu-item/index.js (100%) diff --git a/edit-post/components/header/copy-content-menu-item/index.js b/edit-post/hooks/more-menu/copy-content-menu-item/index.js similarity index 100% rename from edit-post/components/header/copy-content-menu-item/index.js rename to edit-post/hooks/more-menu/copy-content-menu-item/index.js diff --git a/edit-post/hooks/more-menu/index.js b/edit-post/hooks/more-menu/index.js index 73ddfa63d5aa33..52989ffc575da8 100644 --- a/edit-post/hooks/more-menu/index.js +++ b/edit-post/hooks/more-menu/index.js @@ -6,7 +6,7 @@ import { addFilter } from '@wordpress/hooks'; /** * Internal dependencies */ -import CopyContentMenuItem from '../../components/header/copy-content-menu-item'; +import CopyContentMenuItem from './copy-content-menu-item'; const withCopyContentMenuItem = ( menuItems ) => [ ...menuItems,