From 1e1db1ca1f27beee6bbe6aeab51d9132359b3b87 Mon Sep 17 00:00:00 2001 From: Kallyan Singha Date: Tue, 21 Jan 2025 13:29:40 +0530 Subject: [PATCH] chore: removed unwanted changes from category.js --- .../block-editor/src/components/block-manager/category.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/block-manager/category.js b/packages/block-editor/src/components/block-manager/category.js index 22914c4f2b1ab0..79d5896b4502e4 100644 --- a/packages/block-editor/src/components/block-manager/category.js +++ b/packages/block-editor/src/components/block-manager/category.js @@ -10,12 +10,12 @@ import { CheckboxControl } from '@wordpress/components'; */ import BlockTypesChecklist from './checklist'; -const BlockManagerCategory = ( { +function BlockManagerCategory( { title, blockTypes, selectedBlockTypes, onChange, -} ) => { +} ) { const instanceId = useInstanceId( BlockManagerCategory ); const toggleVisible = useCallback( @@ -97,6 +97,6 @@ const BlockManagerCategory = ( { /> ); -}; +} export default BlockManagerCategory;