fix sidebar tracking

This commit is contained in:
mantikoros 2022-08-24 17:23:26 -05:00
parent 74a0479cbd
commit 5bf135760e

View File

@ -331,7 +331,7 @@ function GroupsList(props: { currentPage: string; memberItems: Item[] }) {
<a <a
href={item.href} href={item.href}
key={item.name} key={item.name}
onClick={trackCallback('sidebar: ' + item.name)} onClick={trackCallback('click sidebar group', { name: item.name })}
className={clsx( className={clsx(
'cursor-pointer truncate', 'cursor-pointer truncate',
'group flex items-center rounded-md px-3 py-2 text-sm font-medium text-gray-600 hover:bg-gray-100 hover:text-gray-900' 'group flex items-center rounded-md px-3 py-2 text-sm font-medium text-gray-600 hover:bg-gray-100 hover:text-gray-900'