diff --git a/packages/layout_editor/src/views/Message/MessageToolbox.jsx b/packages/layout_editor/src/views/Message/MessageToolbox.jsx index 4f79f82e9..48b9faab5 100644 --- a/packages/layout_editor/src/views/Message/MessageToolbox.jsx +++ b/packages/layout_editor/src/views/Message/MessageToolbox.jsx @@ -157,7 +157,7 @@ export const MessageToolbox = ({ variantStyles = {}, ...props }) => { }, link: { label: 'Copy link', - id: 'copyLink', + id: 'link', onClick: () => {}, iconName: 'link', visible: true, diff --git a/packages/layout_editor/src/views/ThemeLab/LayoutSetting.jsx b/packages/layout_editor/src/views/ThemeLab/LayoutSetting.jsx index b2f98dc62..8ac29b789 100644 --- a/packages/layout_editor/src/views/ThemeLab/LayoutSetting.jsx +++ b/packages/layout_editor/src/views/ThemeLab/LayoutSetting.jsx @@ -366,7 +366,7 @@ const LayoutSetting = () => { }, link: { label: 'Copy link', - id: 'copyLink', + id: 'link', onClick: () => addMessageSurfaceItem('link'), iconName: 'link', }, diff --git a/packages/react/src/views/Message/MessageToolbox.js b/packages/react/src/views/Message/MessageToolbox.js index 405142b69..f47849175 100644 --- a/packages/react/src/views/Message/MessageToolbox.js +++ b/packages/react/src/views/Message/MessageToolbox.js @@ -143,7 +143,7 @@ export const MessageToolbox = ({ }, link: { label: 'Copy link', - id: 'copyLink', + id: 'link', onClick: () => handleCopyMessageLink(message), iconName: 'link', visible: true,