Skip to content

Commit 2242f02

Browse files
committed
sync no npm state with time reload
1 parent a800648 commit 2242f02

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/extension/background.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -246,26 +246,13 @@ chrome.runtime.onMessage.addListener((request, sender) => {
246246
// gabi :: resolve no initial state
247247
// tabsObj[tabId].hierarchy = null;
248248
} else {
249-
// tabsObj[tabId].snapshots = null;
250249
// gabi :: reset snapshots to page initial state
251250
tabsObj[tabId].snapshots.splice(1);
252-
// gabi :: resolve no initial state
253-
// tabsObj[tabId].snapshots = [{
254-
// state: {"@@INIT":"Inicial State"},
255-
// name: "nameless",
256-
// componentData: {},
257-
// children: [],
258-
// parent: null,
259-
// }]
260251
// gabi :: reset hierarchy to page initial state
261252
if (tabsObj[tabId].hierarchy) {
262253
tabsObj[tabId].hierarchy.children = [];
263-
// gabi :: resolve no initial state
264-
// tabsObj[tabId].hierarchy = null;
265254
// gabi :: reset currParent plus current state
266255
tabsObj[tabId].currParent = 1;
267-
// gabi :: resolve no initial state
268-
tabsObj[tabId].currParent = 0;
269256
} else {
270257
// gabi :: reset currParent
271258
tabsObj[tabId].currParent = 0;

0 commit comments

Comments
 (0)