Skip to content

Commit

Permalink
Fix on issue #29498
Browse files Browse the repository at this point in the history
  • Loading branch information
Quintis1212 committed Mar 3, 2021
1 parent 70b85f8 commit 0e0eae3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) {
getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD,
};
},
[ clientId ]
[ clientId , fallbackRef , index, className, wrapperProps ]
);


// translators: %s: Type of block (i.e. Text, Image etc)
const blockLabel = sprintf( __( 'Block: %s' ), blockTitle );

Expand All @@ -115,7 +116,6 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) {
triggerAnimationOnChange: index,
} ),
] );

return {
...wrapperProps,
...props,
Expand Down

0 comments on commit 0e0eae3

Please sign in to comment.