Skip to content

Commit e2a4489

Browse files
committed
wip
1 parent 0540566 commit e2a4489

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/signals/signals/src/core/signals/settings.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,9 @@ export class SignalGlobalSettings {
114114
export class SignalsDebugSettings {
115115
private static redactionKey = 'segment_signals_debug_redaction_disabled'
116116
private static ingestionKey = 'segment_signals_debug_ingestion_enabled'
117-
storage: WebStorage
117+
private storage = new WebStorage(window.sessionStorage)
118118

119119
constructor(disableRedaction?: boolean, enableIngestion?: boolean) {
120-
this.storage = new WebStorage(window.sessionStorage)
121120
if (typeof disableRedaction === 'boolean') {
122121
this.storage.setItem(SignalsDebugSettings.redactionKey, disableRedaction)
123122
}

0 commit comments

Comments
 (0)