From eaf7a18832119f7deff0a4808d9ef6bf81ef58f3 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 4 Sep 2024 11:04:43 +0200 Subject: [PATCH] Style Book: do not use Composite store --- packages/edit-site/src/components/style-book/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/edit-site/src/components/style-book/index.js b/packages/edit-site/src/components/style-book/index.js index 7ee8eed375f9a9..c4c2fa45d2bed7 100644 --- a/packages/edit-site/src/components/style-book/index.js +++ b/packages/edit-site/src/components/style-book/index.js @@ -48,7 +48,6 @@ const { mergeBaseAndUserConfigs } = unlock( editorPrivateApis ); const { CompositeV2: Composite, CompositeItemV2: CompositeItem, - useCompositeStoreV2: useCompositeStore, Tabs, } = unlock( componentsPrivateApis ); @@ -383,11 +382,9 @@ const StyleBookBody = ( { const Examples = memo( ( { className, examples, category, label, isSelected, onSelect } ) => { - const compositeStore = useCompositeStore( { orientation: 'vertical' } ); - return (