diff --git a/plugin-hrm-form/src/channels/setUpChannels.tsx b/plugin-hrm-form/src/channels/setUpChannels.tsx index f77bec832f..388dbdb5e4 100644 --- a/plugin-hrm-form/src/channels/setUpChannels.tsx +++ b/plugin-hrm-form/src/channels/setUpChannels.tsx @@ -156,7 +156,7 @@ export const setupInstagramChatChannel = () => { task => task.channelType === 'instagram' || task.attributes.customChannelType === 'instagram', ); - const icon = ; + const icon = ; InstagramChatChannel.icons = generateIcons(icon); maskChannelStringsWithIdentifiers(InstagramChatChannel); diff --git a/plugin-hrm-form/src/components/common/icons/InstagramIcon.tsx b/plugin-hrm-form/src/components/common/icons/InstagramIcon.tsx index b027460c7a..cd4f13f806 100644 --- a/plugin-hrm-form/src/components/common/icons/InstagramIcon.tsx +++ b/plugin-hrm-form/src/components/common/icons/InstagramIcon.tsx @@ -19,7 +19,7 @@ import React from 'react'; type Props = { width: string; height: string; - color: string; + color?: string; }; /* eslint-disable react/prop-types */ @@ -34,10 +34,7 @@ const InstagramIcon: React.FC = ({ width, height, color }) => { preserveAspectRatio="xMidYMid" aria-label="Instagram" > - + ); };