fix: add sdk logs behind debug flag

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-15 10:20:19 +01:00
parent 3d8a3e8997
commit 1f5c648afe
2 changed files with 13 additions and 9 deletions

View File

@@ -38,8 +38,6 @@ export class OpenPanel extends OpenPanelBase {
});
if (!this.isServer()) {
console.log('OpenPanel.dev - Initialized', this.options);
try {
const pending = sessionStorage.getItem('openpanel-pending-revenues');
if (pending) {
@@ -202,7 +200,6 @@ export class OpenPanel extends OpenPanelBase {
}
this.lastPath = path;
console.log('OpenPanel.dev - Track page view');
super.track('screen_view', {
...(properties ?? {}),
__path: path,