Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix 404 error (#8445)
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Mar 17, 2023
1 parent cb14bc9 commit 0012083
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/BlockTypes/ProductImageGallery.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php
namespace Automattic\WooCommerce\Blocks\BlockTypes;

use Automattic\WooCommerce\Blocks\Utils\StyleAttributesUtils;


/**
* ProductImageGallery class.
*/
Expand All @@ -15,6 +12,13 @@ class ProductImageGallery extends AbstractBlock {
*/
protected $block_name = 'product-image-gallery';

/**
* It isn't necessary register block assets because it is a server side block.
*/
protected function register_block_type_assets() {
return null;
}

/**
* Register the context
*
Expand Down

0 comments on commit 0012083

Please sign in to comment.