1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01: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', {
props: {
eventType: 'subscribe',
eventType: 'unsubscribe',
},
});
} else {
@ -44,7 +44,7 @@ export const ProductivityEmailSubscription: FC<{
});
trackEvent('productivity-report', {
props: {
eventType: 'unsubscribe',
eventType: 'subscribe',
},
});
}