Skip to content

Commit 80348d6

Browse files
authored
Update snapShot.ts
1 parent 2eaf060 commit 80348d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/routers/snapShot.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import createTree from '../controllers/createTree';
1313
*/
1414
// updating tree depending on current mode on the panel (pause, etc)
1515
export default function updateAndSendSnapShotTree(fiberRoot: FiberRoot): void {
16-
1716
// This is the currently active root fiber(the mutable root of the tree)
1817
const { current } = fiberRoot;
1918
// Clear all of the legacy actions from old fiber tree because we are about to create a new one
@@ -30,7 +29,6 @@ export default function updateAndSendSnapShotTree(fiberRoot: FiberRoot): void {
3029
// the postMessage action will be received on the content script to later update the tabsObj
3130
// this will fire off everytime there is a change in test application
3231
// convert the payload from a fiber tree to an object to avoid a data clone error when postMessage processes the argument
33-
// compare payload and clonedDeepPayload with isIdentical
3432
const obj = JSON.parse(JSON.stringify(payload));
3533
window.postMessage(
3634
{

0 commit comments

Comments
 (0)