Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 90d8363

Browse files
authored
[ACS-4611] Check proper storage (#1515)
1 parent 1dda573 commit 90d8363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Storage {
2828

2929
supportsStorage() {
3030
try {
31-
return 'sessionStorage' in window && window.sessionStorage !== null;
31+
return 'localStorage' in window && window.localStorage !== null;
3232
} catch (e) {
3333
return false;
3434
}

0 commit comments

Comments
 (0)