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

Fix Filter blocks e2e tests #10116

Merged
merged 4 commits into from
Jul 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Revert "fix save method""
This reverts commit 739db2e.
Aljullu committed Jul 6, 2023
commit e7a94530e5b68bf5fbf8ed9a6fb6d716cffacb7c
7 changes: 1 addition & 6 deletions assets/js/blocks/attribute-filter/index.tsx
Original file line number Diff line number Diff line change
@@ -49,12 +49,7 @@ registerBlockType( metadata, {
{ ...useBlockProps.save( {
className: classNames( 'is-loading', className ),
} ) }
>
<span
aria-hidden
className="wc-block-product-attribute-filter__placeholder"
/>
</div>
/>
);
},
deprecated,
7 changes: 1 addition & 6 deletions assets/js/blocks/rating-filter/index.tsx
Original file line number Diff line number Diff line change
@@ -36,12 +36,7 @@ registerBlockType( metadata, {
{ ...useBlockProps.save( {
className: classNames( 'is-loading', className ),
} ) }
>
<span
aria-hidden
className="wc-block-product-rating-filter__placeholder"
/>
</div>
/>
);
},
deprecated,
7 changes: 1 addition & 6 deletions assets/js/blocks/stock-filter/index.tsx
Original file line number Diff line number Diff line change
@@ -38,12 +38,7 @@ registerBlockType( metadata, {
{ ...useBlockProps.save( {
className: classNames( 'is-loading', className ),
} ) }
>
<span
aria-hidden
className="wc-block-product-stock-filter__placeholder"
/>
</div>
/>
);
},
deprecated,