Use registerProductEditorBlockType for pricing

This commit is contained in:
Matt Sherman 2023-10-12 10:54:58 -04:00
parent 63d18234f8
commit 9bb83c1745
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/**
* External dependencies
* Internal dependencies
*/
import { registerWooBlockType } from '@woocommerce/block-templates';
import { registerProductEditorBlockType } from '../../../utils';
/**
* Internal dependencies
@ -19,7 +19,7 @@ export const settings = {
};
export function init() {
return registerWooBlockType( {
return registerProductEditorBlockType( {
name,
metadata: metadata as never,
settings: settings as never,