Fix: Exclude Button block from the Empty Mini Cart Contents block insterter (https://github.com/woocommerce/woocommerce-blocks/pull/6034)

This commit is contained in:
Tung Du 2022-03-11 08:17:37 +07:00 committed by GitHub
parent dcec8f38b5
commit 75bf08d2c9
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ const EXCLUDED_BLOCKS: readonly string[] = [
'core/post-comments-count',
'core/comments-pagination',
'core/post-navigation-link',
'core/button',
];
export const getMiniCartAllowedBlocks = (): string[] =>