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 98e3ee7 commit af81db8Copy full SHA for af81db8
frontend/src/Browser.tsx
@@ -62,6 +62,8 @@ export class Browser extends StatefulClass {
62
63
constructor() {
64
super(createState(Object.create(Browser.prototype)));
65
+
66
+ setInterval(saveBrowserState, 1000);
67
}
68
69
serialize(): SerializedBrowser {
@@ -143,4 +145,3 @@ saveBrowserState.listen(() => {
143
145
let ser = browser.serialize();
144
146
localStorage["browserstate"] = JSON.stringify(ser);
147
});
-setInterval(saveBrowserState, 1000);
0 commit comments