Skip to content

Commit 6674bce

Browse files
committed
erge branch 'web/cookie-consent' of github.com:amplitude/experiment-js-client into web/cookie-consent
2 parents 7009ffb + 6067049 commit 6674bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/experiment-tag/src/storage/consent-aware-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class ConsentAwareStorage {
7777
}
7878

7979
const storageMap = this.inMemoryStorage.get(storageType);
80-
if (storageMap && storageMap.has(key)) {
80+
if (storageMap?.has(key)) {
8181
return storageMap.get(key) as T;
8282
}
8383

0 commit comments

Comments
 (0)