diff --git a/packages/edit-site/src/components/add-new-page/index.js b/packages/edit-site/src/components/add-new-page/index.js index 5b3f6426251117..0c8efa3dfaa0ba 100644 --- a/packages/edit-site/src/components/add-new-page/index.js +++ b/packages/edit-site/src/components/add-new-page/index.js @@ -1,8 +1,3 @@ -/** - * External dependencies - */ -import { kebabCase } from 'lodash'; - /** * WordPress dependencies */ @@ -41,7 +36,7 @@ export default function AddNewPageModal( { onSave, onClose } ) { { status: 'draft', title, - slug: kebabCase( title || __( 'No title' ) ), + slug: title || __( 'No title' ), }, { throwOnError: true } );