Skip to content

Commit

Permalink
Remove duplicate use of isReusable block
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Jul 11, 2023
1 parent f800546 commit 3e92024
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function useBlockDisplayInformation( clientId ) {
const attributes = getBlockAttributes( clientId );
const match = getActiveBlockVariation( blockName, attributes );
const isReusable = isReusableBlock( blockType );
const resusableTitle = isReusableBlock( blockType )
const resusableTitle = isReusable
? __experimentalGetReusableBlockTitle( attributes.ref )
: undefined;
const title = resusableTitle || blockType.title;
Expand Down

0 comments on commit 3e92024

Please sign in to comment.