From f4b28c68aa6b946667fb1ffc11c19295fc7093e9 Mon Sep 17 00:00:00 2001 From: Thomas Roberts Date: Wed, 11 Oct 2023 13:18:50 +0100 Subject: [PATCH] Register wc-blocks-components script in asset API --- src/AssetsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AssetsController.php b/src/AssetsController.php index 4b62c9e59cd..3fbd7b961ac 100644 --- a/src/AssetsController.php +++ b/src/AssetsController.php @@ -62,6 +62,7 @@ public function register_assets() { $this->api->register_script( 'wc-price-format', 'build/price-format.js', [], false ); $this->api->register_script( 'wc-blocks-checkout', 'build/blocks-checkout.js', [] ); + $this->api->register_script( 'wc-blocks-components', 'build/blocks-components.js', [] ); wp_add_inline_script( 'wc-blocks-middleware',