Skip to content

Commit

Permalink
fix prettier and cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
aliraza556 committed Dec 31, 2024
1 parent 2e7309a commit 401d081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2116,11 +2116,11 @@ export class MainStore {
}

initializeSessionId() {
let sessionId = sessionStorage.getItem('sphinx_session_id');
let sessionId = localStorage.getItem('sphinx_session_id');

if (!sessionId) {
sessionId = randomString(32);
sessionStorage.setItem('sphinx_session_id', sessionId);
localStorage.setItem('sphinx_session_id', sessionId);
}

this.setSessionId(sessionId);
Expand Down

0 comments on commit 401d081

Please sign in to comment.