Use registerProductEditorBlockType for pricing
This commit is contained in:
parent
63d18234f8
commit
9bb83c1745
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
import { registerWooBlockType } from '@woocommerce/block-templates';
|
import { registerProductEditorBlockType } from '../../../utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
|
@ -19,7 +19,7 @@ export const settings = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export function init() {
|
export function init() {
|
||||||
return registerWooBlockType( {
|
return registerProductEditorBlockType( {
|
||||||
name,
|
name,
|
||||||
metadata: metadata as never,
|
metadata: metadata as never,
|
||||||
settings: settings as never,
|
settings: settings as never,
|
||||||
|
|
Loading…
Reference in New Issue