Skip to content

Commit fc68242

Browse files
committed
[frontend] cleanup
1 parent 4ad848f commit fc68242

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

frontend/src/Browser.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ export async function initBrowser() {
185185
de = localStorage["browserstate"];
186186
} else {
187187
de = await puter.kv.get("browserstate");
188-
console.log(de);
189188
}
190189
if (de) {
191190
try {

frontend/src/Tab.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export class Tab extends StatefulClass {
119119
// this.id = de.id;
120120
this.title = de.title;
121121
this.history.deserialize(de.history);
122-
console.log(this.history.states[this.history.index].url);
123122
this._directnavigate(this.history.states[this.history.index].url);
124123
}
125124

@@ -280,7 +279,7 @@ function injectDevtools(client: ScramjetClient, tab: Tab) {
280279
apply(ctx) {
281280
if (ctx.args[0] == "message") {
282281
hookedPostMessageListener = ctx.args[1];
283-
ctx.return();
282+
ctx.return(undefined);
284283
}
285284
},
286285
});

0 commit comments

Comments
 (0)