Skip to content

Commit

Permalink
Update the Post Tags block icon (#40096)
Browse files Browse the repository at this point in the history
* Update the Post Tags block icon

* Use `postTerms` icon for Post Tags
  • Loading branch information
jameskoster authored Apr 6, 2022
1 parent 76fc277 commit 0c6b3b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/post-terms/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { postCategories as icon } from '@wordpress/icons';
import { postCategories, postTerms } from '@wordpress/icons';

const variations = [
{
name: 'category',
title: __( 'Post Categories' ),
description: __( "Display a post's categories." ),
icon,
icon: postCategories,
isDefault: true,
attributes: { term: 'category' },
isActive: ( blockAttributes ) => blockAttributes.term === 'category',
Expand All @@ -19,7 +19,7 @@ const variations = [
name: 'post_tag',
title: __( 'Post Tags' ),
description: __( "Display a post's tags." ),
icon,
icon: postTerms,
attributes: { term: 'post_tag' },
isActive: ( blockAttributes ) => blockAttributes.term === 'post_tag',
},
Expand Down

0 comments on commit 0c6b3b9

Please sign in to comment.