diff --git a/extensions/blocks/business-hours/index.js b/extensions/blocks/business-hours/index.js index 534c300ffc30d..e0d0eaca263b0 100644 --- a/extensions/blocks/business-hours/index.js +++ b/extensions/blocks/business-hours/index.js @@ -3,6 +3,7 @@ */ import { __, _x } from '@wordpress/i18n'; import { Path } from '@wordpress/components'; +import { registerBlockCollection } from '@wordpress/blocks'; /** * Internal dependencies @@ -82,7 +83,7 @@ export const settings = { title: __( 'Business Hours', 'jetpack' ), description: __( 'Display opening hours for your business.', 'jetpack' ), icon, - category: 'jetpack', + category: typeof registerBlockCollection === 'function' ? 'widgets' : 'jetpack', supports: { html: true, },