Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isActive: path => path === 'recentCalls',
view: (
),
getData: () => {
recentCalls.getCalls({ currentContact, sessionId });
},
cleanUp: () => recentCalls.cleanUpCalls({ contact: currentContact, sessionId })
},
{
icon: <span>,
label: i18n.getString('text', currentLocale),
path: 'recentMessages',
noticeCounts: unreadMessageCounts,
isActive: path => path === 'recentMessages',
view: (
),
getData: () => {
recentMessages.getMessages({ currentContact, sessionId });
},</span>