Skip to content

Commit

Permalink
Add p tag inside, renamed icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Bravo committed Oct 18, 2021
1 parent 4d53bf0 commit f9c26e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-comment-author/edit.js
Expand Up @@ -46,7 +46,7 @@ export default function Edit( { attributes, context, setAttributes } ) {
{ displayName }
</a>
) : (
displayName
<p>{ displayName }</p>
);

return (
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/post-comment-author/index.js
Expand Up @@ -7,7 +7,7 @@ import edit from './edit';
/**
* WordPress dependencies
*/
import { postCommentsAuthor as icon } from '@wordpress/icons';
import { commentAuthor as icon } from '@wordpress/icons';

const { name } = metadata;
export { metadata, name };
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/src/index.js
Expand Up @@ -49,6 +49,7 @@ export { default as color } from './library/color';
export { default as column } from './library/column';
export { default as columns } from './library/columns';
export { default as comment } from './library/comment';
export { default as commentAuthor } from './library/comment-author';
export { default as cover } from './library/cover';
export { default as create } from './library/create';
export { default as crop } from './library/crop';
Expand Down Expand Up @@ -153,7 +154,6 @@ export { default as postContent } from './library/post-content';
export { default as postComments } from './library/post-comments';
export { default as postCommentsCount } from './library/post-comments-count';
export { default as postCommentsForm } from './library/post-comments-form';
export { default as postCommentsAuthor } from './library/post-comments-author';
export { default as postDate } from './library/post-date';
export { default as postExcerpt } from './library/post-excerpt';
export { default as postFeaturedImage } from './library/post-featured-image';
Expand Down
Expand Up @@ -3,7 +3,7 @@
*/
import { SVG, Path, Circle } from '@wordpress/primitives';

const postCommentsAuthor = (
const commentAuthor = (
<SVG viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="#FFFFFF">
<Path
d="M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"
Expand All @@ -19,4 +19,4 @@ const postCommentsAuthor = (
</SVG>
);

export default postCommentsAuthor;
export default commentAuthor;

0 comments on commit f9c26e4

Please sign in to comment.