1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-10 01:16:39 +02:00

fix: swap subscribe and unsubscribe events (#8900)

This commit is contained in:
Mateusz Kwasniewski 2024-12-02 10:28:54 +01:00 committed by GitHub
parent f833cf58eb
commit 40769c8106
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ export const ProductivityEmailSubscription: FC<{
}); });
trackEvent('productivity-report', { trackEvent('productivity-report', {
props: { props: {
eventType: 'subscribe', eventType: 'unsubscribe',
}, },
}); });
} else { } else {
@ -44,7 +44,7 @@ export const ProductivityEmailSubscription: FC<{
}); });
trackEvent('productivity-report', { trackEvent('productivity-report', {
props: { props: {
eventType: 'unsubscribe', eventType: 'subscribe',
}, },
}); });
} }