fix: only track opening of menu
This commit is contained in:
@@ -39,7 +39,11 @@ export function MainMenu({
|
||||
} = useDropdownStore()
|
||||
|
||||
function handleMyPagesMobileMenuClick() {
|
||||
trackClick("profile picture icon")
|
||||
// Only track click when opening it
|
||||
if (!isMyPagesMobileMenuOpen) {
|
||||
trackClick("profile picture icon")
|
||||
}
|
||||
|
||||
toggleMyPagesMobileMenu()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user