diff --git a/packages/js/product-editor/src/blocks/product-fields/password/index.ts b/packages/js/product-editor/src/blocks/product-fields/password/index.ts index d36ff2b8fc6..de7b9c48944 100644 --- a/packages/js/product-editor/src/blocks/product-fields/password/index.ts +++ b/packages/js/product-editor/src/blocks/product-fields/password/index.ts @@ -1,13 +1,9 @@ -/** - * External dependencies - */ -import { registerWooBlockType } from '@woocommerce/block-templates'; - /** * Internal dependencies */ import blockConfiguration from './block.json'; import { Edit } from './edit'; +import { registerProductEditorBlockType } from '../../../utils'; const { name, ...metadata } = blockConfiguration; @@ -18,7 +14,7 @@ export const settings = { }; export function init() { - return registerWooBlockType( { + return registerProductEditorBlockType( { name, metadata: metadata as never, settings: settings as never,