We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3bbad5 commit 46d9e57Copy full SHA for 46d9e57
src/backend/index.ts
@@ -46,14 +46,9 @@ function getRouteURL(node: SnapshotNode): string {
46
window.addEventListener('message', ({ data: { action, payload } }: MsgData) => {
47
switch (action) {
48
case 'jumpToSnap':
49
- // console.log('action:', action);
50
- console.log('payload', payload);
51
- // console.log('payload.name:', payload.name)
52
- // console.log(test)
53
timeJump(payload, true); // * This sets state with given payload
54
// Get the pathname from payload and add new entry to browser history
55
// MORE: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState
56
-
57
// try to modify workInProgress tree from here
58
// window.history.pushState('', '', getRouteURL(payload));
59
break;
0 commit comments