From 6d94ce7e5cf405c0f30fd914bb8964bf4c492cb4 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 18 Dec 2025 13:52:55 -0500 Subject: [PATCH] feature/IO-3468-Senty-Exceptions - Fix unused import --- client/src/firebase/firebase.utils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/firebase/firebase.utils.js b/client/src/firebase/firebase.utils.js index a56fb5014..30f758fe6 100644 --- a/client/src/firebase/firebase.utils.js +++ b/client/src/firebase/firebase.utils.js @@ -5,7 +5,7 @@ import { getFirestore } from "@firebase/firestore"; import { getMessaging, getToken, onMessage } from "@firebase/messaging"; import { store } from "../redux/store"; //import * as amplitude from '@amplitude/analytics-browser'; -import posthog from 'posthog-js' +// import posthog from 'posthog-js' const config = JSON.parse(import.meta.env.VITE_APP_FIREBASE_CONFIG); initializeApp(config); @@ -74,7 +74,6 @@ onMessage(messaging, (payload) => { export const logImEXEvent = (eventName, additionalParams, stateProp = null) => { try { - const state = stateProp || store.getState(); const eventParams = { @@ -100,7 +99,6 @@ export const logImEXEvent = (eventName, additionalParams, stateProp = null) => { logEvent(analytics, eventName, eventParams); //amplitude.track(eventName, eventParams); //posthog.capture(eventName, eventParams); - } finally { //If it fails, just keep going. }