Skip to content

Commit 8f3165c

Browse files
committed
remove extra logs
1 parent d5800d6 commit 8f3165c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

frontend/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ export class App extends BtrixElement {
191191
willUpdate(changedProperties: Map<string, unknown>) {
192192
if (changedProperties.has("settings")) {
193193
AppStateService.updateSettings(this.settings || null);
194-
195194
}
196195
if (changedProperties.has("viewState")) {
197196
this.handleViewStateChange(
@@ -245,7 +244,6 @@ export class App extends BtrixElement {
245244
// Redirect to logged in home page
246245
this.viewState = this.router.match(this.navigate.orgBasePath);
247246
window.history.replaceState(this.viewState, "", this.viewState.pathname);
248-
console.log("replace state");
249247
} else {
250248
const nextViewState = this.router.match(
251249
`${pathname}${window.location.search}`,
@@ -257,7 +255,6 @@ export class App extends BtrixElement {
257255
) {
258256
this.viewState = nextViewState;
259257
this.updateOrgSlugIfNeeded();
260-
console.log("next view state", nextViewState);
261258
}
262259
}
263260
}
@@ -324,10 +321,8 @@ export class App extends BtrixElement {
324321
}`;
325322

326323
if (replace) {
327-
console.log("new state replaced");
328324
window.history.replaceState(this.viewState, "", urlStr);
329325
} else {
330-
console.log("new state pushed");
331326
window.history.pushState(this.viewState, "", urlStr);
332327
}
333328

0 commit comments

Comments
 (0)