diff --git a/packages/js/product-editor/src/blocks/product-fields/attributes/index.ts b/packages/js/product-editor/src/blocks/product-fields/attributes/index.ts index 5322eeb221e..84d6d885707 100644 --- a/packages/js/product-editor/src/blocks/product-fields/attributes/index.ts +++ b/packages/js/product-editor/src/blocks/product-fields/attributes/index.ts @@ -1,13 +1,9 @@ -/** - * External dependencies - */ -import { registerWooBlockType } from '@woocommerce/block-templates'; - /** * Internal dependencies */ import metadata from './block.json'; import { Edit } from './edit'; +import { registerProductEditorBlockType } from '../../../utils'; const { name } = metadata; @@ -19,7 +15,7 @@ export const settings = { }; export const init = () => - registerWooBlockType( { + registerProductEditorBlockType( { name, metadata: metadata as never, settings: settings as never,