From b45300f96ce05886171c246839e7dd7f9dc726e1 Mon Sep 17 00:00:00 2001 From: Marin Atanasov Date: Mon, 26 Jun 2023 15:29:49 +0300 Subject: [PATCH] Lodash: Refactor away from _.kebabCase() in getCleanTemplatePartSlug --- packages/edit-site/src/utils/template-part-create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/utils/template-part-create.js b/packages/edit-site/src/utils/template-part-create.js index 3c0fa14cbf7ad1..b81a98d15684a7 100644 --- a/packages/edit-site/src/utils/template-part-create.js +++ b/packages/edit-site/src/utils/template-part-create.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import { kebabCase } from 'lodash'; +import { paramCase as kebabCase } from 'change-case'; /** * WordPress dependencies