Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
shethj committed May 5, 2023
1 parent 5f6df2d commit 04733e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/template-retail-react-app/app/commerce-api/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ export function hasSFRAAuthStateChanged(storage, storageCopy) {
(storageCopy.get(refreshTokenGuestStorageKey) && refreshTokenGuestStorageKey) ||
(storageCopy.get(refreshTokenRegisteredStorageKey) && refreshTokenRegisteredStorageKey)

if(refreshTokenKey !== refreshTokenCopyKey) {
return true;
if (refreshTokenKey !== refreshTokenCopyKey) {
return true
}

return storage.get(refreshTokenKey) !== storageCopy.get(refreshTokenCopyKey)
Expand Down

0 comments on commit 04733e8

Please sign in to comment.