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

Commit

Permalink
Product Gallery Thumbnails: Add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldudzic committed Jul 29, 2023
1 parent e88abf8 commit a2171c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/blocks/product-gallery/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Edit = ( {
updateGroupBlockType( attributes, clientId );
// Move the Thumbnails block to the correct above or below the Large Image based on the thumbnailsPosition attribute.
moveInnerBlocksToPosition( attributes, clientId );
}, [ attributes, clientId ] );
}, [ setAttributes, attributes, clientId ] );

return (
<div { ...blockProps }>
Expand Down

0 comments on commit a2171c0

Please sign in to comment.