diff --git a/client/omnichannel/agents/AgentInfo.js b/client/omnichannel/agents/AgentInfo.js index 6d4c61b45d5be..34b371c1c8c43 100644 --- a/client/omnichannel/agents/AgentInfo.js +++ b/client/omnichannel/agents/AgentInfo.js @@ -34,7 +34,7 @@ export const AgentInfo = React.memo(function AgentInfo({ return {t('User_not_found')}; } - const { user } = data || { user: {} }; + const { user = {} } = data; const { username, statusLivechat,