Skip to content

Commit

Permalink
Renaming BlockPatternList for consistency/integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hayward committed Oct 16, 2023
1 parent fae90d8 commit b4c4d77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function BlockPatternPlaceholder() {
);
}

function BlockPatternList(
function BlockPatternsList(
{
isDraggable,
blockPatterns,
Expand Down Expand Up @@ -224,4 +224,4 @@ function BlockPatternList(
);
}

export default forwardRef( BlockPatternList );
export default forwardRef( BlockPatternsList );
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { speak } from '@wordpress/a11y';
* Internal dependencies
*/
import usePatternsState from './hooks/use-patterns-state';
import BlockPatternList from '../block-patterns-list';
import BlockPatternsList from '../block-patterns-list';
import PatternsExplorerModal from './block-patterns-explorer/explorer';
import MobileTabNavigation from './mobile-tab-navigation';
import usePatternsPaging from './hooks/use-patterns-paging';
Expand Down Expand Up @@ -332,7 +332,7 @@ export function BlockPatternsCategoryPanel( {
</VStack>

{ currentCategoryPatterns.length > 0 && (
<BlockPatternList
<BlockPatternsList
ref={ scrollContainerRef }
shownPatterns={ pagingProps.categoryPatternsAsyncList }
blockPatterns={ pagingProps.categoryPatterns }
Expand Down

0 comments on commit b4c4d77

Please sign in to comment.