Skip to content

Commit

Permalink
[CARE-5694] Use Embed icon instead of SocialPost
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadxali committed Jul 18, 2024
1 parent 48ac5f1 commit bfb3b32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/slate-editor/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export { default as ComponentPinterest } from './Component-Pinterest.svg';
export { default as ComponentPodcast } from './Component-Podcast.svg';
export { default as ComponentQuote } from './Component-Quote.svg';
export { default as ComponentSnippet } from './Component-Snippet.svg';
export { default as ComponentSocialPost } from './Component-Social-Post.svg';
export { default as ComponentSoundCloud } from './Component-SoundCloud.svg';
export { default as ComponentSpotify } from './Component-Spotify.svg';
export { default as ComponentStoryBookmark } from './Component-Story-Bookmark.svg';
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-editor/src/modules/editor/menuOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function* generateOptions(
if (withEmbedSocial) {
yield {
action: MenuAction.ADD_EMBED_SOCIAL,
icon: Icons.ComponentSocialPost,
icon: Icons.Embed,
group: Group.MEDIA_CONTENT,
text: 'Social post',
description: 'Embed a social media link',
Expand Down

0 comments on commit bfb3b32

Please sign in to comment.