Remove duplicate Add to Cart Form block from Webpack entries (#50394)
* Remove duplicate Add to Cart Form block from Webpack entries * Typo * Add changelog file
This commit is contained in:
parent
a579e866b7
commit
bd41bd34f6
|
@ -16,7 +16,6 @@ const glob = require( 'glob' );
|
|||
// when you mark/unmark block experimental.
|
||||
const blocks = {
|
||||
'active-filters': {},
|
||||
'add-to-cart-form': {},
|
||||
'all-products': {
|
||||
customDir: 'products/all-products',
|
||||
},
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Remove duplicate Add to Cart Form block from Webpack entries
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ class AddToCartForm extends AbstractBlock {
|
|||
}
|
||||
|
||||
/**
|
||||
* It isn't necessary register block assets because it is a server side block.
|
||||
* It isn't necessary to register block assets because it is a server side block.
|
||||
*/
|
||||
protected function register_block_type_assets() {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue