diff --git a/packages/edit-site/src/components/header-edit-mode/document-actions/index.js b/packages/edit-site/src/components/header-edit-mode/document-actions/index.js index 97bb0acb3bdd49..94f8358fda993f 100644 --- a/packages/edit-site/src/components/header-edit-mode/document-actions/index.js +++ b/packages/edit-site/src/components/header-edit-mode/document-actions/index.js @@ -11,6 +11,7 @@ import { } from '@wordpress/components'; import { BlockIcon } from '@wordpress/block-editor'; import { privateApis as commandsPrivateApis } from '@wordpress/commands'; +import { displayShortcut } from '@wordpress/keycodes'; /** * Internal dependencies @@ -43,8 +44,6 @@ export default function DocumentActions() { ? __( 'template part' ) : __( 'template' ); - const isMac = /Mac|iPod|iPhone|iPad/.test( window.navigator.platform ); - return ( );