diff --git a/packages/js/product-editor/src/blocks/product-fields/summary/index.ts b/packages/js/product-editor/src/blocks/product-fields/summary/index.ts index 55180b8de9d..a8c8696ae1a 100644 --- a/packages/js/product-editor/src/blocks/product-fields/summary/index.ts +++ b/packages/js/product-editor/src/blocks/product-fields/summary/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; @@ -19,7 +15,7 @@ export const settings = { }; export function init() { - return registerWooBlockType( { + return registerProductEditorBlockType( { name, metadata: metadata as never, settings: settings as never,