From 18ef7efe0963b45c8c90f661356c2a3b53147e86 Mon Sep 17 00:00:00 2001 From: GabrielFn Date: Thu, 26 Feb 2026 09:49:15 -0300 Subject: [PATCH] reset deve mode --- src/dispatchers/index.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/dispatchers/index.ts b/src/dispatchers/index.ts index 723f1bd..68273fe 100644 --- a/src/dispatchers/index.ts +++ b/src/dispatchers/index.ts @@ -123,10 +123,14 @@ const sendUserIdentification = ( }; const resetMixpanel = (): void => { + if (getIsDevelopment()) { + console.log('[blu-lytics]: Resetting Mixpanel'); + } else { const provider = providersList.find((item) => item.name === 'MixPanel'); - if (provider?.reset) { - checkIfMixPanelIsInitialized(provider.name); - provider.reset(); + if (provider?.reset) { + checkIfMixPanelIsInitialized(provider.name); + provider.reset(); + } } };