Update registerWooBlockType for tab
This commit is contained in:
parent
898dd99be6
commit
78fab5c8e3
|
@ -19,5 +19,9 @@ export const settings = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export function init() {
|
export function init() {
|
||||||
registerWooBlockType( { name, metadata: metadata as never, settings } );
|
registerWooBlockType( {
|
||||||
|
name,
|
||||||
|
metadata: metadata as never,
|
||||||
|
settings: settings as never,
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue