Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove comment icon #51

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { _x } from '@wordpress/i18n';
import { MenuItem } from '@wordpress/components';
import { collabComment } from '@wordpress/icons';
import { comment as commentIcon } from '@wordpress/icons';
import { useSelect, useDispatch } from '@wordpress/data';

/**
Expand Down Expand Up @@ -32,7 +32,7 @@ export default function BlockCommentMenuItem( { onClose } ) {

return (
<MenuItem
icon={ collabComment }
icon={ commentIcon }
onClick={ openCollabBoard }
aria-haspopup="dialog"
>
Expand Down
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/collab/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { _x } from '@wordpress/i18n';
import { ToolbarButton } from '@wordpress/components';
import { collabComment } from '@wordpress/icons';
import { comment as commentIcon } from '@wordpress/icons';
import { useSelect, useDispatch } from '@wordpress/data';

/**
Expand Down Expand Up @@ -34,7 +34,7 @@ export default function BlockCommentToolbar() {
return (
<ToolbarButton
accessibleWhenDisabled
icon={ collabComment }
icon={ commentIcon }
label={ _x( 'Comment', 'Open comment button' ) }
onClick={ openCollabBoard }
/>
Expand Down
1 change: 0 additions & 1 deletion packages/icons/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export { default as cloudUpload } from './library/cloud-upload';
export { default as cloud } from './library/cloud';
export { default as code } from './library/code';
export { default as cog } from './library/cog';
export { default as collabComment } from './library/collab-comment';
export { default as color } from './library/color';
export { default as column } from './library/column';
export { default as columns } from './library/columns';
Expand Down
12 changes: 0 additions & 12 deletions packages/icons/src/library/collab-comment.js

This file was deleted.

Loading