Skip to content

Commit 759a123

Browse files
author
Jack Crish
committed
remove verbose mp
1 parent 2308bff commit 759a123

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/backend/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ import {
1616
} from './types/backendTypes';
1717
import { Interface } from 'readline';
1818

19-
const mixpanel = require("mixpanel").init("12fa2800ccbf44a5c36c37bc9776e4c0", {
20-
protocol: "https",
21-
debug: true
22-
});
23-
24-
mixpanel.track( "TEST ");
2519

2620
// * State snapshot object initialized here
2721
const snapShot: Snapshot = {
@@ -53,9 +47,7 @@ function getRouteURL(node: SnapshotNode): string {
5347
// * Event listener for time-travel actions
5448
window.addEventListener('message', ({ data: { action, payload } } : MsgData) => {
5549
switch (action) {
56-
case 'jumpToSnap':
57-
console.log(" attempting mixpanel jump log ");
58-
mixpanel.track(" Testing Time Jump ");
50+
case 'jumpToSnap':
5951
timeJump(payload, true); // * This sets state with given payload
6052
// Get the pathname from payload and add new entry to browser history
6153
// MORE: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState

0 commit comments

Comments
 (0)