remove console log

This commit is contained in:
Jesse Winton
2025-06-09 14:33:33 -04:00
parent 592c9e0862
commit d4ff804a95

View File

@@ -60,7 +60,6 @@ export const trackEvent = (eventArgs?: string | TrackEventArgs): void => {
if (!eventArgs || ENV.TEST) return;
const path = page.route.id?.replace(/\(([^()]*)\)/g, '') ?? '';
console.log(path);
const name = typeof eventArgs === 'string' ? eventArgs : eventArgs.name;
const data = typeof eventArgs === 'string' ? { path } : { ...eventArgs.data, path };