From bf1ed537059a3ce04c8c885ff3f9964442ac0f46 Mon Sep 17 00:00:00 2001 From: Devansh Date: Sun, 22 Dec 2024 13:55:36 +0530 Subject: [PATCH] fixed inconsistency in layout_editor --- packages/layout_editor/src/views/Message/MessageToolbox.jsx | 2 +- packages/layout_editor/src/views/ThemeLab/LayoutSetting.jsx | 2 +- packages/react/src/views/Message/MessageToolbox.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,