mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
remove console log
This commit is contained in:
@@ -60,7 +60,6 @@ export const trackEvent = (eventArgs?: string | TrackEventArgs): void => {
|
|||||||
if (!eventArgs || ENV.TEST) return;
|
if (!eventArgs || ENV.TEST) return;
|
||||||
|
|
||||||
const path = page.route.id?.replace(/\(([^()]*)\)/g, '') ?? '';
|
const path = page.route.id?.replace(/\(([^()]*)\)/g, '') ?? '';
|
||||||
console.log(path);
|
|
||||||
const name = typeof eventArgs === 'string' ? eventArgs : eventArgs.name;
|
const name = typeof eventArgs === 'string' ? eventArgs : eventArgs.name;
|
||||||
const data = typeof eventArgs === 'string' ? { path } : { ...eventArgs.data, path };
|
const data = typeof eventArgs === 'string' ? { path } : { ...eventArgs.data, path };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user