From 275e1687593745265a7876ca4063daa7fbfce078 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Thu, 28 Dec 2023 18:50:34 +0900 Subject: [PATCH] Revert unintended changes and Fix lint error --- .../src/components/block-tools/index.js | 3 +- .../test/__snapshots__/index.js.snap | 933 ------------------ 2 files changed, 1 insertion(+), 935 deletions(-) delete mode 100644 packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap diff --git a/packages/block-editor/src/components/block-tools/index.js b/packages/block-editor/src/components/block-tools/index.js index 89f5a9d5c8048..27c2ee351c08f 100644 --- a/packages/block-editor/src/components/block-tools/index.js +++ b/packages/block-editor/src/components/block-tools/index.js @@ -1,12 +1,11 @@ /** * WordPress dependencies */ -import { switchToBlockType } from '@wordpress/blocks'; +import { switchToBlockType, isUnmodifiedDefaultBlock } from '@wordpress/blocks'; import { useSelect, useDispatch } from '@wordpress/data'; import { Popover } from '@wordpress/components'; import { __unstableUseShortcutEventMatch as useShortcutEventMatch } from '@wordpress/keyboard-shortcuts'; import { useRef } from '@wordpress/element'; -import { isUnmodifiedDefaultBlock } from '@wordpress/blocks'; /** * Internal dependencies diff --git a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap b/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap deleted file mode 100644 index 634ebcfa8829d..0000000000000 --- a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap +++ /dev/null @@ -1,933 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`KeyboardShortcutHelpModal should match snapshot when the modal is active 1`] = ` - -`;