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

Commit 36b7ccf

Browse files
committed
Remove unnecessary use of @wordpress/compose in a frontend script
1 parent eb7baac commit 36b7ccf

File tree

1 file changed

+1
-2
lines changed
  • assets/js/atomic/blocks/product-elements/title

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* External dependencies
33
*/
4-
import { compose } from '@wordpress/compose';
54
import withFilteredAttributes from '@woocommerce/base-hocs/with-filtered-attributes';
65

76
/**
@@ -10,4 +9,4 @@ import withFilteredAttributes from '@woocommerce/base-hocs/with-filtered-attribu
109
import Block from './block';
1110
import attributes from './attributes';
1211

13-
export default compose( withFilteredAttributes( attributes ) )( Block );
12+
export default withFilteredAttributes( attributes )( Block );

0 commit comments

Comments
 (0)