Skip to content

Commit 46d9e57

Browse files
(delete) cleaned index.ts in backend folder
1 parent d3bbad5 commit 46d9e57

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/backend/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,9 @@ function getRouteURL(node: SnapshotNode): string {
4646
window.addEventListener('message', ({ data: { action, payload } }: MsgData) => {
4747
switch (action) {
4848
case 'jumpToSnap':
49-
// console.log('action:', action);
50-
console.log('payload', payload);
51-
// console.log('payload.name:', payload.name)
52-
// console.log(test)
5349
timeJump(payload, true); // * This sets state with given payload
5450
// Get the pathname from payload and add new entry to browser history
5551
// MORE: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState
56-
5752
// try to modify workInProgress tree from here
5853
// window.history.pushState('', '', getRouteURL(payload));
5954
break;

0 commit comments

Comments
 (0)