diff --git a/src/views/Conversations/Online/Components/ChannelLogo.jsx b/src/views/Conversations/Online/Components/ChannelLogo.jsx index 7573dbd..0b9cfb2 100644 --- a/src/views/Conversations/Online/Components/ChannelLogo.jsx +++ b/src/views/Conversations/Online/Components/ChannelLogo.jsx @@ -7,7 +7,7 @@ const ChannelLogo = ({channel}) => { if (Array.isArray(channel)) { channel = channel[channel.length - 1]; } - const _channel = channel.toLowerCase(); + const _channel = (channel || '').toLowerCase(); switch (_channel) { case 'waba': return ;