File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ import {
16
16
} from './types/backendTypes' ;
17
17
import { Interface } from 'readline' ;
18
18
19
- const mixpanel = require ( "mixpanel" ) . init ( "12fa2800ccbf44a5c36c37bc9776e4c0" , {
20
- protocol : "https" ,
21
- debug : true
22
- } ) ;
23
-
24
- mixpanel . track ( "TEST " ) ;
25
19
26
20
// * State snapshot object initialized here
27
21
const snapShot : Snapshot = {
@@ -53,9 +47,7 @@ function getRouteURL(node: SnapshotNode): string {
53
47
// * Event listener for time-travel actions
54
48
window . addEventListener ( 'message' , ( { data : { action, payload } } : MsgData ) => {
55
49
switch ( action ) {
56
- case 'jumpToSnap' :
57
- console . log ( " attempting mixpanel jump log " ) ;
58
- mixpanel . track ( " Testing Time Jump " ) ;
50
+ case 'jumpToSnap' :
59
51
timeJump ( payload , true ) ; // * This sets state with given payload
60
52
// Get the pathname from payload and add new entry to browser history
61
53
// MORE: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState
You can’t perform that action at this time.
0 commit comments