diff --git a/src/components/Buttons/EmojiButton/EmojiButton.tsx b/src/components/Buttons/EmojiButton/EmojiButton.tsx index 1df61b7a..f0a569ef 100644 --- a/src/components/Buttons/EmojiButton/EmojiButton.tsx +++ b/src/components/Buttons/EmojiButton/EmojiButton.tsx @@ -35,7 +35,7 @@ const EmojiButton = () => { // styles for emoji disabled button const emojiButtonDisabledStyle: React.CSSProperties = { - cursor: `url(${settings.general?.actionDisabledIcon}), auto`, + cursor: `url("${settings.general?.actionDisabledIcon}"), auto`, ...styles.emojiButtonStyle, // by default inherit the base style ...styles.emojiButtonDisabledStyle }; diff --git a/src/components/Buttons/FileAttachmentButton/FileAttachmentButton.tsx b/src/components/Buttons/FileAttachmentButton/FileAttachmentButton.tsx index 78b0c3c4..74d618ec 100644 --- a/src/components/Buttons/FileAttachmentButton/FileAttachmentButton.tsx +++ b/src/components/Buttons/FileAttachmentButton/FileAttachmentButton.tsx @@ -54,7 +54,7 @@ const FileAttachmentButton = () => { // styles for file attachment disabled button const fileAttachmentButtonDisabledStyle = { - cursor: `url(${settings.general?.actionDisabledIcon}), auto`, + cursor: `url("${settings.general?.actionDisabledIcon}"), auto`, ...styles.fileAttachmentButtonStyle, // by default inherit the base style ...styles.fileAttachmentButtonDisabledStyle } diff --git a/src/components/Buttons/SendButton/SendButton.tsx b/src/components/Buttons/SendButton/SendButton.tsx index 4d4a093b..30b01e38 100644 --- a/src/components/Buttons/SendButton/SendButton.tsx +++ b/src/components/Buttons/SendButton/SendButton.tsx @@ -34,7 +34,7 @@ const SendButton = () => { // styles for disabled send button const sendButtonDisabledStyle: React.CSSProperties = { - cursor: `url(${settings.general?.actionDisabledIcon}), auto`, + cursor: `url("${settings.general?.actionDisabledIcon}"), auto`, backgroundColor: settings.general?.primaryColor, ...styles.sendButtonStyle, // by default inherit the base style ...styles.sendButtonDisabledStyle diff --git a/src/components/ChatBotBody/ChatBotBody.tsx b/src/components/ChatBotBody/ChatBotBody.tsx index 86d8881b..d4c91cf8 100644 --- a/src/components/ChatBotBody/ChatBotBody.tsx +++ b/src/components/ChatBotBody/ChatBotBody.tsx @@ -154,7 +154,7 @@ const ChatBotBody = ({ )} {showAvatar && (
)} @@ -178,7 +178,7 @@ const ChatBotBody = ({