diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/collection-font-variant.js b/packages/edit-site/src/components/global-styles/font-library-modal/collection-font-variant.js index fea8ef02911e15..ba17ee5df84290 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/collection-font-variant.js +++ b/packages/edit-site/src/components/global-styles/font-library-modal/collection-font-variant.js @@ -1,18 +1,13 @@ /** * WordPress dependencies */ -import { - CheckboxControl, - Flex, - privateApis as componentsPrivateApis, -} from '@wordpress/components'; +import { CheckboxControl, Flex } from '@wordpress/components'; /** * Internal dependencies */ import { getFontFaceVariantName } from './utils'; import FontFaceDemo from './font-demo'; -import { unlock } from '../../../lock-unlock'; function CollectionFontVariant( { face, @@ -29,10 +24,6 @@ function CollectionFontVariant( { }; const displayName = font.name + ' ' + getFontFaceVariantName( face ); - const { kebabCase } = unlock( componentsPrivateApis ); - const checkboxId = kebabCase( - `${ font.slug }-${ getFontFaceVariantName( face ) }` - ); return (